/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | 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);
|
H A D | 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
|
H A D | Support_SimpleDateFormat.java | 75 t_FormatWithField(0, format, date, null, Field.ERA, 0, 2); 106 t_FormatWithField(24, format, date, null, Field.ERA, 0, 0); 208 v.add(new FieldContainer(0, 2, Field.ERA)); 209 v.add(new FieldContainer(3, 5, Field.ERA));
|
H A D | Support_MessageFormat.java | 70 t_FormatWithField(4, format, objects, null, DateFormat.Field.ERA, 0, 0);
|
H A D | SimpleDateFormatTest.java | 568 cal.set(Calendar.ERA, GregorianCalendar.BC);
|
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | AttributedCharacterIteratorAttributeTest.java | 35 assertSameReserialized(DateFormat.Field.ERA);
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | GregorianCalendar.java | 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 365 * @see #ERA 370 * Value of the {@link #ERA} field indicating 378 * Value of the <code>ERA</code> field indicating 383 * @see #ERA [all...] |
H A D | Calendar.java | 92 * concrete subclass, such as <code>ERA</code>. See individual field 369 public final static int ERA = 0; field in class:Calendar 749 * <code>ERA</code> through <code>DST_OFFSET</code>. 759 * <code>ERA</code> through <code>DST_OFFSET</code>. 912 final static int ERA_MASK = (1 << ERA); 1464 if (field == ERA || field == AM_PM) { 1512 case ERA: 1709 if (stamp[ERA] != UNSET) { 1898 // IllegalArgumentException if the ERA value is invalid 2503 "ERA", "YEA [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | OldGregorianCalendarTest.java | 60 assertEquals(1, g.get(Calendar.ERA));
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_MessageFormat.java | 67 t_FormatWithField(4, format, objects, null, DateFormat.Field.ERA, 0, 0);
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | DateFormat.java | 167 * Useful constant for ERA field alignment. 813 // Maps from Calendar constant (such as Calendar.ERA) to Field 814 // constant (such as Field.ERA). 905 public final static Field ERA = new Field("era", Calendar.ERA); field in class:DateFormat.Field
|
H A D | SimpleDateFormat.java | 1025 Calendar.ERA, Calendar.YEAR, Calendar.MONTH, Calendar.DATE, 1061 Field.ERA, Field.YEAR, Field.MONTH, Field.DAY_OF_MONTH, 1878 if ((index = matchString(text, start, Calendar.ERA, formatData.getEras(), calb)) > 0) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | CalendarTest.java | 815 case Calendar.ERA: 816 cal.set(Calendar.ERA, GregorianCalendar.BC); 822 cal.set(Calendar.ERA, GregorianCalendar.AD); 912 if (field == Calendar.AM_PM || field == Calendar.ERA 966 case Calendar.ERA:
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | SerializationStressTest4.java | 1762 DateFormat.Field.DAY_OF_MONTH, DateFormat.Field.ERA,
|