/external/icu/android_icu4j/src/main/java/android/icu/util/ |
JapaneseCalendar.java | 16 * except for the year and era. The ascension of each emperor to the throne 17 * begins a new era, and the years of that era are numbered starting with the 21 * of year and era values: that for the old era and for the new. For example, a 22 * new era began on January 7, 1989 AD. Strictly speaking, the first six days 23 * of that year were in the Showa era, e.g. "January 6, 64 Showa", while the rest 24 * of the year was in the Heisei era, e.g. "January 7, 1 Heisei". This class 30 * for these eras, suitable for use in the <code>ERA</code> field, are provided 31 * in this class. Note that the <em>number</em> used for each era is more o 229 int era = internalGet(ERA, CURRENT_ERA); local 251 int era = internalGet(ERA, CURRENT_ERA); local 634 int era = get(Calendar.ERA); local [all...] |
TaiwanCalendar.java | 19 * except for the year and era. Years are numbered since 1912 AD (Gregorian). 21 * The Taiwan Calendar has one era: <code>MINGUO</code>. 45 * Constant for the Taiwan Era for years before Minguo 1. 49 * @see android.icu.util.Calendar#ERA 54 * Constant for the Taiwan Era for Minguo. Minguo 1 is 1912 in 57 * @see android.icu.util.Calendar#ERA 186 && newerField(EXTENDED_YEAR, ERA) == EXTENDED_YEAR) { 189 int era = internalGet(ERA, MINGUO); local 190 if (era == MINGUO) [all...] |
BuddhistCalendar.java | 21 * except for the year and era. Years are numbered since the birth of the 23 * BE (Buddhist Era) and 1998 AD is 2541 BE. 25 * The Buddhist Calendar has only one allowable era: <code>BE</code>. If the 50 * Constant for the Buddhist Era. This is the only allowable <code>ERA</code> 53 * @see android.icu.util.Calendar#ERA 208 internalSet(ERA, 0); 213 * Override GregorianCalendar. There is only one Buddhist ERA. We 218 if (field == ERA) {
|
CopticCalendar.java | 231 // The year defaults to the epoch start, the era to AD 232 int era = internalGet(ERA, CE); local 233 if (era == BCE) { 250 int era, year; local 259 era = BCE; 262 era = CE; 267 internalSet(ERA, era);
|
GregorianCalendar.java | 114 * System.out.println("ERA: " + calendar.get(Calendar.ERA)); 139 * 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 220 * Value of the <code>ERA</code> field indicating 221 * the common era (Anno Domini), also known as CE. 224 * @see Calendar#ERA 650 int era = cal.get(ERA); local 771 int era = AD; local 792 int era = internalGet(ERA, AD); local [all...] |
EthiopicCalendar.java | 131 // Era mode. When eraType is AMETE_ALEM_ERA, 132 // Amete Mihret won't be used for the ERA field. 251 * Set Alem or Mihret era. 253 * @param onOff Set Amete Alem era if true, otherwise set Amete Mihret era. 260 * Return true if this calendar is set to the Amete Alem era. 262 * @return true if set to the Amete Alem era. 284 // The year defaults to the epoch start, the era to AMETE_MIHRET 285 int era = internalGet(ERA, AMETE_MIHRET) local 302 int era, year; local [all...] |
SimpleDateRule.java | 176 c.set(Calendar.ERA, c.getMaximum(Calendar.ERA));
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
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...] |
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...] |
BuddhistCalendar.java | 20 * except for the year and era. Years are numbered since the birth of the 22 * BE (Buddhist Era) and 1998 AD is 2541 BE. 24 * The Buddhist Calendar has only one allowable era: <code>BE</code>. If the 50 * Constant for the Buddhist Era. This is the only allowable <code>ERA</code> 53 * @see com.ibm.icu.util.Calendar#ERA 221 internalSet(ERA, 0); 226 * Override GregorianCalendar. There is only one Buddhist ERA. We 232 if (field == ERA) {
|
CopticCalendar.java | 253 // The year defaults to the epoch start, the era to AD 254 int era = internalGet(ERA, CE); local 255 if (era == BCE) { 271 int era, year; local 280 era = BCE; 283 era = CE; 288 internalSet(ERA, era);
|
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...] |
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...] |
SimpleDateRule.java | 181 c.set(Calendar.ERA, c.getMaximum(Calendar.ERA));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
ChineseTestCase.java | 19 * @param era the ERA field of tested calendar on the given Julian 32 int era, int year, int month, 37 set(Calendar.ERA, era); 50 get(Calendar.YEAR) + "of" + get(Calendar.ERA) +
|
JapaneseTest.java | 92 // new JapaneseCalendar(int era, int year, int month, int date) 95 errln("could not create JapaneseCalendar with era,year,month,date"); 112 cal.set(Calendar.ERA, JapaneseCalendar.MEIJI); 114 logln("min era: " + cal.getMinimum(Calendar.ERA)); 163 int gotEra = cal.get(Calendar.ERA); 169 errln("Expected year " + expectYear + ", era " + expectEra +", but got year " + gotYear + " and era " + gotEra + ", == " + inEn); 171 logln("Got year " + gotYear + " and era " + gotEra + ", == " + inEn); 174 // Test parse with missing era (should default to current era, heisei [all...] |
TestCase.java | 81 * @param era The ERA field of tested calendar on the given julian day 91 int era, int year, int month, int day, 97 set(Calendar.ERA, era); 115 * @param era The ERA field of tested calendar on the given gregorian date 125 int era, int year, int month, int day, 134 set(Calendar.ERA, era); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
ChineseTestCase.java | 18 * @param era the ERA field of tested calendar on the given Julian 31 int era, int year, int month, 36 set(Calendar.ERA, era); 49 get(Calendar.YEAR) + "of" + get(Calendar.ERA) +
|
JapaneseTest.java | 88 // new JapaneseCalendar(int era, int year, int month, int date) 91 errln("could not create JapaneseCalendar with era,year,month,date"); 108 cal.set(Calendar.ERA, JapaneseCalendar.MEIJI); 110 logln("min era: " + cal.getMinimum(Calendar.ERA)); 159 int gotEra = cal.get(Calendar.ERA); 165 errln("Expected year " + expectYear + ", era " + expectEra +", but got year " + gotYear + " and era " + gotEra + ", == " + inEn); 167 logln("Got year " + gotYear + " and era " + gotEra + ", == " + inEn); 170 // Test parse with missing era (should default to current era, heisei [all...] |
TestCase.java | 80 * @param era The ERA field of tested calendar on the given julian day 90 int era, int year, int month, int day, 96 set(Calendar.ERA, era); 114 * @param era The ERA field of tested calendar on the given gregorian date 124 int era, int year, int month, int day, 133 set(Calendar.ERA, era); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/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);
|
FieldPositionTest.java | 99 FieldPosition fpos3 = new FieldPosition(DateFormat.Field.ERA, 1); 227 FieldPosition fpos2 = new FieldPosition(DateFormat.Field.ERA); 231 "java.text.FieldPosition[field=-1,attribute=" + DateFormat.Field.ERA
|
/libcore/luni/src/test/java/libcore/java/text/ |
AttributedCharacterIteratorAttributeTest.java | 35 assertSameReserialized(DateFormat.Field.ERA);
|
/libcore/ojluni/src/main/java/java/util/ |
GregorianCalendar.java | 49 import sun.util.calendar.Era; 174 * <code>ERA<br></code> 275 * System.out.println("ERA: " + calendar.get(Calendar.ERA)); 300 * System.out.println("ERA: " + calendar.get(Calendar.ERA)); 360 * Value of the <code>ERA</code> field indicating 361 * the period before the common era (before Christ), also known as BCE. 365 * @see #ERA 370 * Value of the {@link #ERA} field indicatin 967 int era = internalGet(ERA) + amount; local 2151 int era = gc.get(ERA); local 2318 int era = CE; local 2606 int era = internalGetEra(); local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/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...] |