Home
last modified time | relevance | path

Searched refs:era (Results 1 – 25 of 187) sorted by relevance

12345678

/external/icu4c/i18n/
Djapancal.cpp326 int32_t era = internalGetEra(); in getDefaultMonthInYear() local
333 if(eyear == kEraInfo[era].year) { in getDefaultMonthInYear()
335 return kEraInfo[era].month-1; in getDefaultMonthInYear()
343 int32_t era = internalGetEra(); in getDefaultDayInMonth() local
346 if(eyear == kEraInfo[era].year) { in getDefaultDayInMonth()
347 if(month == (kEraInfo[era].month-1)) { in getDefaultDayInMonth()
348 return kEraInfo[era].day; in getDefaultDayInMonth()
506 int32_t era = get(UCAL_ERA, status); in getActualMaximum() local
510 if (era == kCurrentEra) { in getActualMaximum()
514 int32_t nextEraYear = kEraInfo[era + 1].year; in getActualMaximum()
[all …]
Dtaiwncal.cpp74 int32_t era = internalGet(UCAL_ERA, MINGUO); in handleGetExtendedYear() local
75 if(era == MINGUO) { in handleGetExtendedYear()
77 } else if(era == BEFORE_MINGUO) { in handleGetExtendedYear()
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);
Dethpccal.cpp91 int32_t era = internalGet(UCAL_ERA, AMETE_MIHRET); in handleGetExtendedYear() local
92 if (era == AMETE_MIHRET) { in handleGetExtendedYear()
104 int32_t eyear, month, day, era, year; in handleComputeFields() local
108 era = AMETE_ALEM; in handleComputeFields()
112 era = AMETE_MIHRET; in handleComputeFields()
115 era = AMETE_ALEM; in handleComputeFields()
121 internalSet(UCAL_ERA, era); in handleComputeFields()
Dcoptccal.cpp65 int32_t era = internalGet(UCAL_ERA, CE); in handleGetExtendedYear() local
66 if (era == BCE) { in handleGetExtendedYear()
78 int32_t eyear, month, day, era, year; in handleComputeFields() local
82 era = BCE; in handleComputeFields()
85 era = CE; in handleComputeFields()
90 internalSet(UCAL_ERA, era); in handleComputeFields()
Dbuddhcal.cpp108 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);
Dvzone.cpp117 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, in vzone_getOffset() argument
119 … return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status); in vzone_getOffset()
123 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, in vzone_getOffset2() argument
126 …return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLen… in vzone_getOffset2()
Dgregocal.cpp439 int32_t era = AD; in handleComputeFields() local
441 era = BC; in handleComputeFields()
444 internalSet(UCAL_ERA, era); in handleComputeFields()
1147 int32_t era = cal->get(UCAL_ERA, status); in getActualMaximum() local
1158 if (cal->get(UCAL_YEAR, status) == y && cal->get(UCAL_ERA, status) == era) { in getActualMaximum()
1199 int32_t era = internalGet(UCAL_ERA, AD); in handleGetExtendedYear() local
1200 if (era == BC) { in handleGetExtendedYear()
1227 int32_t era = internalGet(UCAL_ERA, AD); in handleGetExtendedYearFromWeekFields() local
1228 if(era == BC) { in handleGetExtendedYearFromWeekFields()
Dsimpletz.cpp392 SimpleTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, in getOffset() argument
407 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset()
411 SimpleTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, in getOffset() argument
431 return getOffset(era, year, month, day, dayOfWeek, millis, in getOffset()
438 SimpleTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, in getOffset() argument
445 if ((era != GregorianCalendar::AD && era != GregorianCalendar::BC) in getOffset()
465 if(!useDaylight || year < startYear || era != GregorianCalendar::AD) in getOffset()
Dvzone.h188 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
211 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
Dolsontz.cpp328 int32_t OlsonTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, in getOffset() argument
337 return getOffset(era, year, month, dom, dow, millis, in getOffset()
346 int32_t OlsonTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, in getOffset() argument
354 if ((era != GregorianCalendar::AD && era != GregorianCalendar::BC) in getOffset()
369 if (era == GregorianCalendar::BC) { in getOffset()
374 return finalZone->getOffset(era, year, month, dom, dow, in getOffset()
Dolsontz.h166 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month,
173 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month,
/external/icu4c/test/intltest/
Dcalcasts.cpp51 for(i=0;cases[i].era>=0;i++) { in doTestCases()
61 checkField(cal, UCAL_ERA, cases[i].era, status); in doTestCases()
73 cal->set(UCAL_ERA, cases[i].era); in doTestCases()
486 for (i = 0; tcase[i].era >= 0; i++) { in Ethiopic()
487 if (tcase[i].era == 1) { in Ethiopic()
488 tcase[i].era = 0; // Change to Amete Alem era in Ethiopic()
Dincaltst.cpp171 int32_t era = data[i++]; in quasiGregorianTest() local
182 cal.set(UCAL_ERA, era); in quasiGregorianTest()
190 logln(UnicodeString("OK: ") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + in quasiGregorianTest()
193 …errln(UnicodeString("Fail: (fields to millis)") + era + ":" + year + "/" + (month+1) + "/" + dayOf… in quasiGregorianTest()
206 if (y == year && e == era) { in quasiGregorianTest()
214 ", expected " + era + ":" + year + "/" + (month+1) + "/" + in quasiGregorianTest()
Dcalcasts.h29 int32_t era; member
/external/icu4c/i18n/unicode/
Drbtz.h148 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
170 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
Dtimezone.h372 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
395 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
Dsimpletz.h569 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
587 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
606 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
Dvtzone.h212 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
234 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
/external/icu4c/data/locales/
Daz.txt116 era{
117 dn{"era"}
Dne_IN.txt40 era{
Dii.txt85 era{
Dsr_Latn.txt121 era{
122 dn{"era"}
Das.txt70 era{
Dne.txt71 era{
Dbs.txt118 era{
119 dn{"era"}

12345678