Home
last modified time | relevance | path

Searched refs:calendarField (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/text/
DDateFormat.java862 private int calendarField; field in DateFormat.Field
876 public static Field ofCalendarField(int calendarField) { in ofCalendarField() argument
877 if (calendarField < 0 || calendarField >= in ofCalendarField()
880 + calendarField); in ofCalendarField()
882 return calendarToFieldMapping[calendarField]; in ofCalendarField()
895 protected Field(String name, int calendarField) { in Field() argument
897 this.calendarField = calendarField; in Field()
900 if (calendarField >= 0) { in Field()
902 calendarToFieldMapping[calendarField] = this; in Field()
918 return calendarField; in getCalendarField()
/libcore/ojluni/annotations/hiddenapi/java/text/
DDateFormat.java233 protected Field(java.lang.String name, int calendarField) { in Field() argument
238 public static java.text.DateFormat.Field ofCalendarField(int calendarField) { in ofCalendarField() argument
358 private int calendarField; field in DateFormat.Field
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDataFormatFieldTest.java57 protected MyField(String fieldName, int calendarField) { in MyField() argument
58 super(fieldName, calendarField); in MyField()
/libcore/ojluni/annotations/mmodule/java/text/
DDateFormat.annotated.java168 protected Field(java.lang.String name, int calendarField) { super(null); throw new RuntimeException… in Field() argument
170 public static java.text.DateFormat.Field ofCalendarField(int calendarField) { throw new RuntimeExce… in ofCalendarField() argument
/libcore/ojluni/annotations/sdk/nullability/java/text/
DDateFormat.annotated.java163 protected Field(@libcore.util.NonNull java.lang.String name, int calendarField) { super(null); thro… in Field() argument
165 @libcore.util.NonNull public static java.text.DateFormat.Field ofCalendarField(int calendarField) {… in ofCalendarField() argument