Home | History | Annotate | Download | only in intltest

Lines Matching defs:era

144  * that behaves like a Gregorian but has different year/era mappings.
147 * { era, year, gregorianYear, month, dayOfMonth, ... ... , -1 }
168 int32_t era = data[i++];
179 cal.set(UCAL_ERA, era);
187 logln(UnicodeString("OK: ") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth +
190 errln(UnicodeString("Fail: (fields to millis)") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth +
203 if (y == year && e == era) {
211 ", expected " + era + ":" + year + "/" + (month+1) + "/" +
256 * Verify that BuddhistCalendar shifts years to Buddhist Era but otherwise
264 0, // B. era [928479600000]
270 0, // B. era [-79204842000000]
306 * Verify that TaiWanCalendar shifts years to Minguo Era but otherwise
315 1, // B. era [928479600000]
321 1, // B. era [-79204842000000]
327 1, // B. era [-79204842000000]
381 JapaneseCalendar_SHOWA, 64, 1989, UCAL_JANUARY, 7, // Test current era transition (different code path than others)
592 { // Jitterbug 1869 - this is an ambiguous era. (Showa 64 = Jan 6 1989, but Showa could be 2 other eras) )
627 // Test parse with missing era (should default to current era, heisei)
629 logln("Testing parse w/ missing era...");
655 UnicodeString(" and era ") + expectEra +", but got year " + gotYear + " and era " + gotEra + " (Gregorian:" + str +")");
657 logln(UnicodeString() + " year: " + gotYear + ", era: " + gotEra);
667 // Test parse with missing era (should default to current era, heisei)
695 UnicodeString(" and era ") + expectEra +", but got year " + gotYear + " and era " + gotEra + " (Gregorian:" + str +")");
697 logln(UnicodeString() + " year: " + gotYear + ", era: " + gotEra);