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

1 2

  /external/chromium/third_party/icu/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.
incaltst.cpp 145 * that behaves like a Gregorian but has different year/era mappings.
148 * { era, year, gregorianYear, month, dayOfMonth, ... ... , -1 }
169 int32_t era = data[i++]; local
180 cal.set(UCAL_ERA, era);
188 logln(UnicodeString("OK: ") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth +
191 errln(UnicodeString("Fail: (fields to millis)") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth +
204 if (y == year && e == era) {
212 ", expected " + era + ":" + year + "/" + (month+1) + "/" +
257 * Verify that BuddhistCalendar shifts years to Buddhist Era but otherwise
265 0, // B. era [928479600000
    [all...]
tzregts.cpp 470 int32_t era = cal->get(UCAL_ERA, status); local
482 int32_t offset = tz->getOffset((uint8_t)era, year, month, day, (uint8_t)dayOfWeek, millis, status);
    [all...]
tzrulets.cpp 262 int32_t era, year, month, dayOfMonth, dayOfWeek, millisInDay; local
278 era = cal->get(UCAL_ERA, status);
288 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status);
317 era = cal->get(UCAL_ERA, status);
327 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status);
    [all...]
  /external/icu4c/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.
incaltst.cpp 145 * that behaves like a Gregorian but has different year/era mappings.
148 * { era, year, gregorianYear, month, dayOfMonth, ... ... , -1 }
169 int32_t era = data[i++]; local
180 cal.set(UCAL_ERA, era);
188 logln(UnicodeString("OK: ") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth +
191 errln(UnicodeString("Fail: (fields to millis)") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth +
204 if (y == year && e == era) {
212 ", expected " + era + ":" + year + "/" + (month+1) + "/" +
257 * Verify that BuddhistCalendar shifts years to Buddhist Era but otherwise
265 0, // B. era [928479600000
    [all...]
tzregts.cpp 469 int32_t era = cal->get(UCAL_ERA, status); local
481 int32_t offset = tz->getOffset((uint8_t)era, year, month, day, (uint8_t)dayOfWeek, millis, status);
    [all...]
tzrulets.cpp 268 int32_t era, year, month, dayOfMonth, dayOfWeek, millisInDay; local
289 era = cal->get(UCAL_ERA, status);
299 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status);
328 era = cal->get(UCAL_ERA, status);
338 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status);
    [all...]
  /external/chromium/third_party/icu/source/i18n/
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);
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...]
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...]
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);
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
1186 int32_t era = internalGet(UCAL_ERA, AD); local
1214 int32_t era = internalGet(UCAL_ERA, AD); local
    [all...]
calendar.cpp 558 {/*N/A*/-1, /*N/A*/-1, /*N/A*/-1, /*N/A*/-1}, // ERA
1436 int32_t era = GregorianCalendar::AD; local
    [all...]
  /external/icu4c/i18n/
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);
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...]
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...]
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);
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...]
calendar.cpp 558 {/*N/A*/-1, /*N/A*/-1, /*N/A*/-1, /*N/A*/-1}, // ERA
1454 int32_t era = GregorianCalendar::AD; local
    [all...]
  /libcore/luni/src/main/native/
ICU.cpp 317 const jchar* era = ures_getStringByIndex(eraElems.get(), i, &eraLength, &status); local
321 ScopedLocalRef<jstring> eraU(env, env->NewString(era, eraLength));
  /prebuilt/darwin-x86/swt/
swt.jar 
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 

Completed in 1001 milliseconds

1 2