/external/icu4c/i18n/ |
japancal.h | 34 * except for the year and era. The ascension of each emperor to the throne 35 * begins a new era, and the years of that era are numbered starting with the 39 * of year and era values: that for the old era and for the new. For example, a 40 * new era began on January 7, 1989 AD. Strictly speaking, the first six days 41 * of that year were in the Showa era, e.g. "January 6, 64 Showa", while the rest 42 * of the year was in the Heisei era, e.g. "January 7, 1 Heisei". This class 49 * in this class. Note that the <em>number</em> used for each era is more or 50 * less arbitrary. Currently, the era starting in 1053 AD is era #0; however thi [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);
|
buddhcal.cpp | 27 //static const int32_t kMaxEra = 0; // only 1 era 108 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);
|
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...] |
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...] |
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.h | 28 * Calendar type - use Amete Alem era for all the time or not 152 * Set Alem or Mihret era. 153 * @param onOff Set Amete Alem era if true, otherwise set Amete Mihret era. 159 * Return true if this calendar is set to the Amete Alem era. 160 * @return true if set to the Amete Alem era. 240 * for the era. Otherwise (default), this calendar uses both AMETE_ALEM
|
buddhcal.h | 37 * except for the year and era. Years are numbered since the birth of the 39 * BE (Buddhist Era) and 1998 AD is 2541 BE. 41 * The Buddhist Calendar has only one allowable era: <code>BE</code>. If the 51 * Useful constants for BuddhistCalendar. Only one Era.
|
vzone.cpp | 117 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, 119 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status); 123 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, 126 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
|
indiancal.h | 26 * that numbers years since the begining of SAKA ERA. This is the civil calendar 57 * Years are counted in the Saka Era, which starts its year 0 in 78AD (by gregorian calendar). 59 * era by Indian National Calendar. 61 * The Indian Calendar has only one allowable era: <code>Saka Era</code>. If the 63 * 1/1/1 Saka Era are rejected with an <code>IllegalArgumentException</code>. 206 * @param year The year in Saka era 241 * <ul><li>ERA
|
taiwncal.h | 36 * except for the year and era. Years are numbered since 1912 AD (Gregorian), 37 * so that 1912 AD (Gregorian) is equivalent to 1 MINGUO (Minguo Era) and 1998 AD is 87 MINGUO. 47 * Useful constants for TaiwanCalendar. Only one Era.
|
indiancal.cpp | 60 { 0, 0, 0, 0}, // ERA 108 * @param eyear The year in Saka Era 130 * @param eyear The year in Saka Era. 237 * @param eyear The year in Indian Calendar measured from Saka Era (78 AD). 281 * <ul><li>ERA 298 IndianYear = gregorianYear - INDIAN_ERA_START; // Year in Saka era
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DataFormatFieldTest.java | 37 MyField field = new MyField("day of month", Calendar.ERA); 40 assertEquals("field has wrong Calendar field number", Calendar.ERA, 44 .ofCalendarField(Calendar.ERA); 46 DateFormat.Field.ERA, realField); 86 MyField field = new MyField("day of month", Calendar.ERA); 89 assertEquals("field has wrong Calendar field number", Calendar.ERA, 93 .ofCalendarField(Calendar.ERA); 95 DateFormat.Field.ERA, realField);
|
/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 | 147 * that behaves like a Gregorian but has different year/era mappings. 150 * { era, year, gregorianYear, month, dayOfMonth, ... ... , -1 } 171 int32_t era = data[i++]; local 182 cal.set(UCAL_ERA, era); 190 logln(UnicodeString("OK: ") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 193 errln(UnicodeString("Fail: (fields to millis)") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 206 if (y == year && e == era) { 214 ", expected " + era + ":" + year + "/" + (month+1) + "/" + 259 * Verify that BuddhistCalendar shifts years to Buddhist Era but otherwise 267 0, // B. era [928479600000 [all...] |
calcasts.cpp | 51 for(i=0;cases[i].era>=0;i++) { 61 checkField(cal, UCAL_ERA, cases[i].era, status); 73 cal->set(UCAL_ERA, cases[i].era); 128 // Julian Day Era Year Month Day WkDay Hour Min Sec 217 // Julian Day Era Year Month Day WkDay Hour Min Sec 287 // Julian Day Era Year Month Day WkDay Hour Min Sec 304 // G.YY/MM/DD Era Year Month Day WkDay Hour Min Sec 336 // Julian Day Era Year Month Day WkDay Hour Min Sec 393 // JD Era Year Month Day WkDay Hour Min Sec 438 // JD Era Year Month Day WkDay Hour Min Se [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
langinfo.h | 144 ERA, /* Alternate era. */ 145 #define ERA ERA 146 __ERA_YEAR, /* Year in alternate era format. */ 150 ERA_D_FMT, /* Date in alternate era format. */ 154 ERA_D_T_FMT, /* Date and time in alternate era format. */ 156 ERA_T_FMT, /* Time in alternate era format. */ 159 _NL_TIME_ERA_NUM_ENTRIES, /* Number entries in the era arrays. */ 160 _NL_TIME_ERA_ENTRIES, /* Structure with era entries in usable form.* [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
langinfo.h | 144 ERA, /* Alternate era. */ 145 #define ERA ERA 146 __ERA_YEAR, /* Year in alternate era format. */ 150 ERA_D_FMT, /* Date in alternate era format. */ 154 ERA_D_T_FMT, /* Date and time in alternate era format. */ 156 ERA_T_FMT, /* Time in alternate era format. */ 159 _NL_TIME_ERA_NUM_ENTRIES, /* Number entries in the era arrays. */ 160 _NL_TIME_ERA_ENTRIES, /* Structure with era entries in usable form.* [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
langinfo.h | 144 ERA, /* Alternate era. */ 145 #define ERA ERA 146 __ERA_YEAR, /* Year in alternate era format. */ 150 ERA_D_FMT, /* Date in alternate era format. */ 154 ERA_D_T_FMT, /* Date and time in alternate era format. */ 156 ERA_T_FMT, /* Time in alternate era format. */ 159 _NL_TIME_ERA_NUM_ENTRIES, /* Number entries in the era arrays. */ 160 _NL_TIME_ERA_ENTRIES, /* Structure with era entries in usable form.* [all...] |
/external/icu4c/test/testdata/ |
calendar.txt | 26 // "0/1/1912/june/4 == gregorian year=1912, ERA=AD, same month, same day 29 "ERA=1,YEAR=1,MONTH=JUNE,DATE=4", // tw 30 "ERA=1,YEAR=1912,MONTH=,DATE=" // greg 34 "ERA=1,YEAR=3,MONTH=FEBRUARY,DATE=12", // tw 35 "ERA=1,YEAR=1914,MONTH=,DATE=" // greg 39 "ERA=1,YEAR=96,MONTH=FEBRUARY,DATE=12", // tw 40 "ERA=1,YEAR=2007,MONTH=,DATE=" // greg 46 "ERA=0,YEAR=2,MONTH=JANUARY,DATE=24", // tw 47 "ERA=1,YEAR=1910,MONTH=JANUARY,DATE=24", // greg 134 "ERA=1,YEAR=1,MONTH=JUNE,DATE=4", // tw [all...] |
/packages/providers/DownloadProvider/res/values-pl/ |
strings.xml | 20 <string name="permlab_downloadManager" msgid="7779544811202855500">"Dost?p do mened?era pobierania."</string> 21 <string name="permdesc_downloadManager" msgid="4237406545998908947">"Zezwala aplikacji na dost?p do mened?era pobierania i korzystanie z niego w celu pobierania plików. Z?o?liwe aplikacje mog? wykorzysta? t? mo?liwo?? w celu zak?ócenia pobierania i uzyskania dost?pu do informacji prywatnych."</string> 22 <string name="permlab_downloadManagerAdvanced" msgid="7103642833308809655">"Zaawansowane funkcje mened?era pobierania."</string> 23 <string name="permdesc_downloadManagerAdvanced" msgid="2659546004160962761">"Zezwala aplikacji na dost?p do zaawansowanych funkcji mened?era pobierania. Z?o?liwe aplikacje mog? wykorzysta? t? mo?liwo?? w celu zak?ócenia pobierania i uzyskania dost?pu do informacji prywatnych."</string> 32 <string name="permdesc_downloadWithoutNotification" msgid="8483135034298639727">"Zezwala aplikacji na pobieranie plików przez mened?era pobierania bez wy?wietlania powiadomie?."</string>
|
/libcore/luni/src/test/java/libcore/java/text/ |
AttributedCharacterIteratorAttributeTest.java | 35 assertSameReserialized(DateFormat.Field.ERA);
|
/external/icu4c/test/cintltst/ |
ccaltst.c | [all...] |
/external/icu4c/i18n/unicode/ |
dtfmtsym.h | 184 * Gets abbreviated era strings. For example: "AD" and "BC". 187 * @return the era strings. 193 * Sets abbreviated era strings. For example: "AD" and "BC". 194 * @param eras Array of era strings (DateFormatSymbols retains ownership.) 201 * Gets era name strings. For example: "Anno Domini" and "Before Christ". 204 * @return the era name strings. 210 * Sets era name strings. For example: "Anno Domini" and "Before Christ". 211 * @param eraNames Array of era name strings (DateFormatSymbols retains ownership.) 218 * Gets narrow era strings. For example: "A" and "B". 221 * @return the narrow era strings [all...] |
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 131 * System.out.println("ERA: " + calendar.get(Calendar.ERA)); 156 * System.out.println("ERA: " + calendar.get(Calendar.ERA)); 189 * Value for the BC era. 194 * Value for the AD era. 360 if (field == ERA) { 362 if (fields[ERA] == AD) { 366 set(ERA, BC); 371 set(ERA, AD) [all...] |