Searched refs:ERA (Results 1 - 14 of 14) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DDataFormatFieldTest.java37 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 DFieldPositionTest.java99 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 DSupport_SimpleDateFormat.java75 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 DSupport_MessageFormat.java70 t_FormatWithField(4, format, objects, null, DateFormat.Field.ERA, 0, 0);
H A DSimpleDateFormatTest.java568 cal.set(Calendar.ERA, GregorianCalendar.BC);
/libcore/luni/src/test/java/libcore/java/text/
H A DAttributedCharacterIteratorAttributeTest.java35 assertSameReserialized(DateFormat.Field.ERA);
/libcore/ojluni/src/main/java/java/util/
H A DGregorianCalendar.java174 * <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 DCalendar.java92 * 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 DOldGregorianCalendarTest.java60 assertEquals(1, g.get(Calendar.ERA));
/libcore/support/src/test/java/tests/support/
H A DSupport_MessageFormat.java67 t_FormatWithField(4, format, objects, null, DateFormat.Field.ERA, 0, 0);
/libcore/ojluni/src/main/java/java/text/
H A DDateFormat.java167 * 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 DSimpleDateFormat.java1025 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 DCalendarTest.java815 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 DSerializationStressTest4.java1762 DateFormat.Field.DAY_OF_MONTH, DateFormat.Field.ERA,

Completed in 224 milliseconds