HomeSort by relevance Sort by last modified time
    Searched refs:era (Results 1 - 25 of 75) sorted by null

1 2 3

  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
JapaneseCalendar.java 15 * except for the year and era. The ascension of each emperor to the throne
16 * begins a new era, and the years of that era are numbered starting with the
20 * of year and era values: that for the old era and for the new. For example, a
21 * new era began on January 7, 1989 AD. Strictly speaking, the first six days
22 * of that year were in the Showa era, e.g. "January 6, 64 Showa", while the rest
23 * of the year was in the Heisei era, e.g. "January 7, 1 Heisei". This class
29 * for these eras, suitable for use in the <code>ERA</code> field, are provided
30 * in this class. Note that the <em>number</em> used for each era is more o
241 int era = internalGet(ERA, CURRENT_ERA); local
264 int era = internalGet(ERA, CURRENT_ERA); local
655 int era = get(Calendar.ERA); local
    [all...]
CopticCalendar.java 255 // The year defaults to the epoch start, the era to AD
256 int era = internalGet(ERA, CE); local
257 if (era == BCE) {
273 int era, year; local
282 era = BCE;
285 era = CE;
290 internalSet(ERA, era);
EthiopicCalendar.java 143 // Era mode. When eraType is AMETE_ALEM_ERA,
144 // Amete Mihret won't be used for the ERA field.
273 * Set Alem or Mihret era.
275 * @param onOff Set Amete Alem era if true, otherwise set Amete Mihret era.
283 * Return true if this calendar is set to the Amete Alem era.
285 * @return true if set to the Amete Alem era.
308 // The year defaults to the epoch start, the era to AMETE_MIHRET
309 int era = internalGet(ERA, AMETE_MIHRET) local
326 int era, year; local
    [all...]
TaiwanCalendar.java 18 * except for the year and era. Years are numbered since 1912 AD (Gregorian).
20 * The Taiwan Calendar has one era: <code>MINGUO</code>.
45 * Constant for the Taiwan Era for years before Minguo 1.
49 * @see com.ibm.icu.util.Calendar#ERA
55 * Constant for the Taiwan Era for Minguo. Minguo 1 is 1912 in
58 * @see com.ibm.icu.util.Calendar#ERA
199 && newerField(EXTENDED_YEAR, ERA) == EXTENDED_YEAR) {
202 int era = internalGet(ERA, MINGUO); local
203 if (era == MINGUO)
    [all...]
GregorianCalendar.java 113 * System.out.println("ERA: " + calendar.get(Calendar.ERA));
138 * System.out.println("ERA: " + calendar.get(Calendar.ERA));
211 * Value of the <code>ERA</code> field indicating
212 * the period before the common era (before Christ), also known as BCE.
215 * @see Calendar#ERA
221 * Value of the <code>ERA</code> field indicating
222 * the common era (Anno Domini), also known as CE.
225 * @see Calendar#ERA
672 int era = cal.get(ERA); local
796 int era = AD; local
818 int era = internalGet(ERA, AD); local
    [all...]
ChineseCalendar.java 42 * The <code>ERA</code> field contains the cycle number, and the
53 * redefines the way the <code>ERA</code> field is used, it requires a new
204 // The current time is set at this point, so ERA field is already
205 // set to the current era.
224 * @param era The value used to set the calendar's {@link #ERA ERA} time field.
234 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date)
236 this(era, year, month, isLeapMonth, date, 0, 0, 0);
243 * @param era the value used to set the calendar's {@link #ERA ERA} time field.
    [all...]
  /external/icu/icu4c/source/i18n/
taiwncal.cpp 74 int32_t era = internalGet(UCAL_ERA, MINGUO); local
75 if(era == MINGUO) {
77 } else if(era == BEFORE_MINGUO) {
115 int32_t era = internalGet(UCAL_ERA);
118 if(era == GregorianCalendar::BC) {
120 era = TaiwanCalendar::MINGUO;
121 } else if(era == GregorianCalendar::AD) {
122 era = TaiwanCalendar::MINGUO;
129 internalSet(UCAL_ERA, era);
ethpccal.cpp 90 // The year defaults to the epoch start, the era to AMETE_MIHRET
91 int32_t era = internalGet(UCAL_ERA, AMETE_MIHRET); local
92 if (era == AMETE_MIHRET) {
104 int32_t eyear, month, day, era, year; local
108 era = AMETE_ALEM;
112 era = AMETE_MIHRET;
115 era = AMETE_ALEM;
121 internalSet(UCAL_ERA, era);
132 return 0; // Only one era in this mode, era is always
    [all...]
buddhcal.cpp 27 //static const int32_t kMaxEra = 0; // only 1 era
108 int32_t era = internalGet(UCAL_ERA);
111 if(era == GregorianCalendar::BC) {
113 era = BuddhistCalendar::BE;
114 } else if(era == GregorianCalendar::AD) {
115 era = BuddhistCalendar::BE;
122 internalSet(UCAL_ERA, era);
coptccal.cpp 64 // The year defaults to the epoch start, the era to CE
65 int32_t era = internalGet(UCAL_ERA, CE); local
66 if (era == BCE) {
78 int32_t eyear, month, day, era, year; local
82 era = BCE;
85 era = CE;
90 internalSet(UCAL_ERA, era);
japancal.cpp 282 * The current era, for reference.
326 int32_t era = internalGetEra(); local
327 // TODO do we assume we can trust 'era'? What if it is denormalized?
331 // Find out if we are at the edge of an era
333 if(eyear == kEraInfo[era].year) {
334 // Yes, we're in the first year of this era.
335 return kEraInfo[era].month-1;
343 int32_t era = internalGetEra(); local
346 if(eyear == kEraInfo[era].year) {
347 if(month == (kEraInfo[era].month-1))
506 int32_t era = get(UCAL_ERA, status); local
    [all...]
vzone.cpp 117 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
119 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status);
123 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
126 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
olsontz.h 167 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month,
174 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month,
vzone.h 178 * @param era The reference date's era
188 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
200 * @param era The reference date's era
211 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
gregocal.cpp 79 { 0, 0, 1, 1}, // ERA
109 * ERA 0 0 1 1
439 int32_t era = AD; local
441 era = BC;
444 internalSet(UCAL_ERA, era);
1147 int32_t era = cal->get(UCAL_ERA, status); local
1199 int32_t era = internalGet(UCAL_ERA, AD); local
1227 int32_t era = internalGet(UCAL_ERA, AD); local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
ChineseTestCase.java 18 * @param era the ERA field of tested calendar on the given Julian
31 int era, int year, int month,
36 set(Calendar.ERA, era);
49 get(Calendar.YEAR) + "of" + get(Calendar.ERA) +
TestCase.java 80 * @param era The ERA field of tested calendar on the given julian day
90 int era, int year, int month, int day,
96 set(Calendar.ERA, era);
114 * @param era The ERA field of tested calendar on the given gregorian date
124 int era, int year, int month, int day,
133 set(Calendar.ERA, era);
    [all...]
  /external/icu/icu4c/source/test/intltest/
calcasts.h 29 int32_t era; member in struct:CalendarCaseTest::TestCase
40 * @param cases array of items to test. Terminate with a "-1" for era.
calcasts.cpp 51 for(i=0;cases[i].era>=0;i++) {
61 checkField(cal, UCAL_ERA, cases[i].era, status);
73 cal->set(UCAL_ERA, cases[i].era);
128 // Julian Day Era Year Month Day WkDay Hour Min Sec
217 // Julian Day Era Year Month Day WkDay Hour Min Sec
287 // Julian Day Era Year Month Day WkDay Hour Min Sec
304 // G.YY/MM/DD Era Year Month Day WkDay Hour Min Sec
336 // Julian Day Era Year Month Day WkDay Hour Min Sec
393 // JD Era Year Month Day WkDay Hour Min Sec
438 // JD Era Year Month Day WkDay Hour Min Se
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
TimeZoneAdapter.java 83 public int getOffset(int era, int year, int month, int day, int dayOfWeek,
85 return zone.getOffset(era, year, month, day, dayOfWeek, millis);
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
TimeZoneICU.java 67 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) {
68 return fIcuTz.getOffset(era, year, month, day, dayOfWeek, milliseconds);
  /external/v8/test/intl/date-format/
resolved-options.js 50 assertFalse(resolved.hasOwnProperty('era'));
79 assertFalse(resolved.hasOwnProperty('era'));
85 'en-US', {weekday: 'short', era: 'short', year: 'numeric', month: 'short',
102 assertTrue(resolved.hasOwnProperty('era'));
103 assertEquals('short', resolved.era);
property-override.js 47 'en-US', {weekday: 'short', era: 'short', year: 'numeric', month: 'short',
57 'calendar', 'day', 'era', 'hour12', 'hour', 'locale',
  /external/icu/icu4c/source/i18n/unicode/
rbtz.h 138 * @param era The reference date's era
148 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
159 * @param era The reference date's era
170 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
simpletz.h 559 * @param era The reference date's era
569 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
575 * @param era the era of the given date.
587 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
593 * @param era the era of the given date.
606 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
    [all...]

Completed in 1157 milliseconds

1 2 3