Searched refs:era (Results 1 - 11 of 11) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/util/calendar/
H A DLocalGregorianCalendar.java63 public Date setEra(Era era) { argument
64 if (getEra() != era) {
65 super.setEra(era);
93 void setLocalEra(Era era) { argument
94 super.setEra(era);
105 Era era = getEra();
106 if (era != null) {
107 String abbr = era.getAbbreviation();
179 Era era = new Era(eraName, abbr, since, localTime);
180 eras.add(era);
260 validateEra(Era era) argument
368 isLeapYear(Era era, int year) argument
[all...]
H A DJulianCalendar.java58 public Date setEra(Era era) { argument
59 if (era == null) {
62 if (era != eras[0] || era != eras[1]) {
63 throw new IllegalArgumentException("unknown era: " + era);
65 super.setEra(era);
69 protected void setKnownEra(Era era) { argument
70 super.setEra(era);
98 Era era
[all...]
H A DCalendarDate.java67 private Era era; field in class:CalendarDate
98 return era;
102 * Sets the era of the date to the specified era. The default
107 * <code>CalendarDate</code> requires eras and the specified era
110 * <code>era</code> is unknown to the calendar
113 public CalendarDate setEra(Era era) { argument
114 if (this.era == era) {
117 this.era
[all...]
H A DZoneInfo.java372 * @param era The era of the given date. The value must be either
382 public int getOffset(int era, int year, int month, int day, argument
388 if (era == java.util.GregorianCalendar.BC) { // BC
390 } else if (era != java.util.GregorianCalendar.AD) {
H A DImmutableGregorianDate.java45 public CalendarDate setEra(Era era) { argument
/openjdk7/jdk/src/share/classes/java/util/
H A DJapaneseImperialCalendar.java42 * calendar system in which the imperial era-based year numbering is
43 * supported from the Meiji era. The following are the eras supported
63 * with time differences for applying the era transitions. This
80 * The ERA constant designating the era before Meiji.
85 * The ERA constant designating the Meiji era.
90 * The ERA constant designating the Taisho era.
95 * The ERA constant designating the Showa era.
100 * The ERA constant designating the Heisei era.
120 // Gregorian calendar instance. This is required because era
129 // inconvenient for a Calendar. So, era[
2000 getFixedDate(int era, int year, int fieldMask) argument
[all...]
H A DSimpleTimeZone.java592 * @param era The era of the given date.
600 * @exception IllegalArgumentException the <code>era</code>,
604 public int getOffset(int era, int year, int month, int day, int dayOfWeek, argument
607 if (era != GregorianCalendar.AD && era != GregorianCalendar.BC) {
608 throw new IllegalArgumentException("Illegal era " + era);
612 if (era == GregorianCalendar.BC) {
665 if (!useDaylight || year < startYear || era !
[all...]
H A DGregorianCalendar.java360 * the period before the common era (before Christ), also known as BCE.
370 * the period before the common era, the same value as {@link #BC}.
378 * the common era (Anno Domini), also known as CE.
388 * the common era, the same value as {@link #AD}.
905 else { // era == BCE
937 else { // era == BCE
961 int era = internalGet(ERA) + amount;
962 if (era < 0) {
963 era = 0;
965 if (era >
[all...]
H A DTimeZone.java177 * @param era the era of the given date.
191 public abstract int getOffset(int era, int year, int month, int day, argument
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/
H A DSAXMessages_pt_BR.properties63 errorHandlerNotSet=Advert\u00EAncia\: A valida\u00E7\u00E3o foi ativada, mas um org.xml.sax.ErrorHandler n\u00E3o foi definido, provavelmente porque n\u00E3o era necess\u00E1rio. O parser usar\u00E1 um ErrorHandler default para imprimir os primeiros {0} erros. Chame o m\u00E9todo ''setErrorHandler'' para corrigir o problema.
H A DDOMMessages_pt_BR.properties43 HIERARCHY_REQUEST_ERR = Houve uma tentativa de inserir um n\u00F3 onde n\u00E3o era permitido.

Completed in 65 milliseconds