/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.
|
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
|
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...] |
/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="4240298564918160337">"Umo?liwia programowi dost?p do mened?era pobierania i pobieranie plików przy jego u?yciu. Szkodliwe programy mog? w ten sposób zak?óci? pobieranie i uzyska? dost?p do prywatnych informacji."</string> 22 <string name="permlab_downloadManagerAdvanced" msgid="7103642833308809655">"Zaawansowane funkcje mened?era pobierania."</string> 23 <string name="permdesc_downloadManagerAdvanced" msgid="6985743912436565114">"Zezwala aplikacji na uzyskiwanie dost?pu 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>
|
/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...] |
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 303 // G.YY/MM/DD Era Year Month Day WkDay Hour Min Sec 335 // Julian Day Era Year Month Day WkDay Hour Min Sec 391 // JD Era Year Month Day WkDay Hour Min Sec 434 // JD Era Year Month Day WkDay Hour Min Se [all...] |
tzoffloc.cpp | 60 // Expected offsets by int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 201 // Test getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 209 errln((UnicodeString)"getOffset(era,year,month,day,dayOfWeek,millis,status) failed for TESTZONES[" + i + "]");
|
/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...] |
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DataFormatFieldTest.java | 49 MyField field = new MyField("day of month", Calendar.ERA); 52 assertEquals("field has wrong Calendar field number", Calendar.ERA, 56 .ofCalendarField(Calendar.ERA); 58 DateFormat.Field.ERA, realField); 110 MyField field = new MyField("day of month", Calendar.ERA); 113 assertEquals("field has wrong Calendar field number", Calendar.ERA, 117 .ofCalendarField(Calendar.ERA); 119 DateFormat.Field.ERA, realField);
|
Support_SimpleDateFormat.java | 75 t_FormatWithField(0, format, date, null, Field.ERA, 0, 2); 109 t_FormatWithField(24, format, date, null, Field.ERA, 0, 0); 215 v.add(new FieldContainer(0, 2, Field.ERA)); 216 v.add(new FieldContainer(3, 5, Field.ERA));
|
/external/icu4c/i18n/unicode/ |
dtfmtsym.h | 183 * Gets abbreviated era strings. For example: "AD" and "BC". 186 * @return the era strings. 192 * Sets abbreviated era strings. For example: "AD" and "BC". 193 * @param eras Array of era strings (DateFormatSymbols retains ownership.) 200 * Gets era name strings. For example: "Anno Domini" and "Before Christ". 203 * @return the era name strings. 209 * Sets era name strings. For example: "Anno Domini" and "Before Christ". 210 * @param eraNames Array of era name strings (DateFormatSymbols retains ownership.) 217 * Gets narrow era strings. For example: A" and "D". 220 * @return the narrow era strings [all...] |
rbtz.h | 138 * @param era The reference date's era 148 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 159 * @param era The reference date's era 170 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
|
/dalvik/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. 370 if (field == ERA) { 372 if (fields[ERA] == AD) { 376 set(ERA, BC); 381 set(ERA, AD) [all...] |
/external/icu4c/tools/ctestfw/unicode/ |
udbgutil.h | 50 * @return string of the format "ERA", "YEAR", etc, or NULL if out of range or unsupported
|
/dalvik/libcore/support/src/test/java/tests/support/ |
Support_SimpleDateFormat.java | 72 t_FormatWithField(0, format, date, null, Field.ERA, 0, 2); 106 t_FormatWithField(24, format, date, null, Field.ERA, 0, 0); 214 v.add(new FieldContainer(0, 2, Field.ERA)); 215 v.add(new FieldContainer(3, 5, Field.ERA));
|