/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.
|
incaltst.cpp | 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++]; local 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 [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 | 272 int32_t era, year, month, dayOfMonth, dayOfWeek, millisInDay; local 293 era = cal->get(UCAL_ERA, status); 303 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status); 332 era = cal->get(UCAL_ERA, status); 342 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status); [all...] |
dtfmttst.cpp | 3998 int32_t era; member in struct:__anon10217 4197 int32_t era; member in struct:__anon10220 4300 int32_t era = cal->get(UCAL_ERA, status); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
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...] |
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);
|
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...] |
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...] |
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...] |
Calendar.java | 71 * are defined by the concrete subclass, such as <code>ERA</code> and 427 * <p>The {@link #ERA}, {@link #YEAR}, 436 * to compute the {@link #ERA}, {@link #YEAR}, 469 * {@link #ERA}.</li> 498 * fields {@link #ERA}, {@link #YEAR}, {@link #MONTH}, 525 * example, changes the {@link #ERA} field from a symbolic field 613 * {@link #YEAR}, {@link #ERA}, etc. fields. Then, if the 623 * <code>ERA==AD ? YEAR : 1-YEAR</code>. Another example is the Mayan 2916 int era = get(ERA); local 3256 int era = get(ERA); local [all...] |
/external/icu/icu4c/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...] |
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);
|
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...] |
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 | 617 {/*N/A*/-1, /*N/A*/-1, /*N/A*/-1, /*N/A*/-1}, // ERA 1717 int32_t era = GregorianCalendar::AD; local 1821 int32_t era = get(UCAL_ERA, status); local 2125 int32_t era = get(UCAL_ERA, status); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
HolidayTest.java | 210 int era = fCalendar.get(Calendar.ERA); local 215 fCalendar.set(Calendar.ERA, era);
|
IBMCalendarTest.java | 148 * that behaves like a Gregorian but has different year/era mappings. 151 * { era, year, gregorianYear, month, dayOfMonth, ... } 160 int era = data[i++]; local 171 cal.set(Calendar.ERA, era); 175 logln("OK: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 178 errln("Fail: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 184 int e = cal.get(Calendar.ERA); 186 if (y == year && e == era) { 187 logln("OK: " + D + " => " + cal.get(Calendar.ERA) + ":" [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
SerializableTest.java | 521 int era = cal.get(Calendar.ERA); local 527 a_offset = tza_a.getOffset(era, year, month, day, dow, mid); 528 b_offset = tza_b.getOffset(era, year, month, day, dow, mid); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneRegression.java | 244 tzOffset = testTZ.getOffset(testCal.get(Calendar.ERA), 318 int era = cal.get(Calendar.ERA); local 329 long offset = tz.getOffset(era, year, month, day, dayOfWeek, millis); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatTest.java | 379 DateFormat.Field.ERA, 476 DateFormat.Field.ERA, // G 4078 public int era; field in class:DateFormatTest.ChineseCalTestDate 4178 int era = rootChineseCalendar.get(Calendar.ERA); local 4196 public int era; field in class:DateFormatTest.CalAndFmtTestItem 4294 int era = cal.get(Calendar.ERA); local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
com.ibm.icu_4.2.1.v20100412.jar | |
/prebuilts/misc/common/icu4j/ |
icu4j.jar | |
/prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/54.1.1/ |
icu4j-54.1.1.jar | |