/external/icu/android_icu4j/src/main/java/android/icu/util/ |
GregorianCalendar.java | 116 * System.out.println("ERA: " + calendar.get(Calendar.ERA)); 141 * System.out.println("ERA: " + calendar.get(Calendar.ERA)); 213 * Value of the <code>ERA</code> field indicating 214 * the period before the common era (before Christ), also known as BCE. 217 * @see Calendar#ERA 222 * Value of the <code>ERA</code> field indicating 223 * the common era (Anno Domini), also known as CE. 226 * @see Calendar#ERA 652 int era = cal.get(ERA); local 773 int era = AD; local 794 int era = internalGet(ERA, AD); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
HolidayTest.java | 216 int era = fCalendar.get(Calendar.ERA); local 221 fCalendar.set(Calendar.ERA, era);
|
IBMCalendarTest.java | 151 * that behaves like a Gregorian but has different year/era mappings. 154 * { era, year, gregorianYear, month, dayOfMonth, ... } 163 int era = data[i++]; local 174 cal.set(Calendar.ERA, era); 178 logln("OK: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 181 errln("Fail: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 187 int e = cal.get(Calendar.ERA); 189 if (y == year && e == era) { 190 logln("OK: " + D + " => " + cal.get(Calendar.ERA) + ":" [all...] |
/external/icu/icu4c/source/test/intltest/ |
incaltst.cpp | 146 * that behaves like a Gregorian but has different year/era mappings. 149 * { era, year, gregorianYear, month, dayOfMonth, ... ... , -1 } 170 int32_t era = data[i++]; local 181 cal.set(UCAL_ERA, era); 189 logln(UnicodeString("OK: ") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 192 errln(UnicodeString("Fail: (fields to millis)") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 205 if (y == year && e == era) { 213 ", expected " + era + ":" + year + "/" + (month+1) + "/" + 258 * Verify that BuddhistCalendar shifts years to Buddhist Era but otherwise 266 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...] |