Searched refs:calendarField (Results 1 – 2 of 2) sorted by relevance
792 private int calendarField = -1; field in DateFormat.Field803 protected Field(String fieldName, int calendarField) { in Field() argument805 this.calendarField = calendarField; in Field()806 if (calendarField != -1 && table.get(Integer.valueOf(calendarField)) == null) { in Field()807 table.put(Integer.valueOf(calendarField), this); in Field()817 return calendarField; in getCalendarField()832 public static Field ofCalendarField(int calendarField) { in ofCalendarField() argument833 if (calendarField < 0 || calendarField >= Calendar.FIELD_COUNT) { in ofCalendarField()834 throw new IllegalArgumentException("Field out of range: " + calendarField); in ofCalendarField()836 return table.get(Integer.valueOf(calendarField)); in ofCalendarField()
57 protected MyField(String fieldName, int calendarField) { in MyField() argument58 super(fieldName, calendarField); in MyField()