Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DChineseDateFormat.java210 protected Field(String name, int calendarField) { in Field() argument
211 super(name, calendarField); in Field()
228 public static DateFormat.Field ofCalendarField(int calendarField) { in ofCalendarField() argument
231 if (calendarField == ChineseCalendar.IS_LEAP_MONTH) { in ofCalendarField()
234 return DateFormat.Field.ofCalendarField(calendarField); in ofCalendarField()
DDateFormat.java2304 private final int calendarField; field in DateFormat.Field
2315 protected Field(String name, int calendarField) { in Field() argument
2317 this.calendarField = calendarField; in Field()
2320 if (calendarField >= 0 && calendarField < CAL_FIELD_COUNT) { in Field()
2321 CAL_FIELDS[calendarField] = this; in Field()
2337 public static DateFormat.Field ofCalendarField(int calendarField) { in ofCalendarField() argument
2338 if (calendarField < 0 || calendarField >= CAL_FIELD_COUNT) { in ofCalendarField()
2341 return CAL_FIELDS[calendarField]; in ofCalendarField()
2352 return calendarField; in getCalendarField()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DChineseDateFormat.java207 protected Field(String name, int calendarField) { in Field() argument
208 super(name, calendarField); in Field()
225 public static DateFormat.Field ofCalendarField(int calendarField) { in ofCalendarField() argument
228 if (calendarField == ChineseCalendar.IS_LEAP_MONTH) { in ofCalendarField()
231 return DateFormat.Field.ofCalendarField(calendarField); in ofCalendarField()
DDateFormat.java2492 private final int calendarField; field in DateFormat.Field
2505 protected Field(String name, int calendarField) { in Field() argument
2507 this.calendarField = calendarField; in Field()
2510 if (calendarField >= 0 && calendarField < CAL_FIELD_COUNT) { in Field()
2511 CAL_FIELDS[calendarField] = this; in Field()
2529 public static DateFormat.Field ofCalendarField(int calendarField) { in ofCalendarField() argument
2530 if (calendarField < 0 || calendarField >= CAL_FIELD_COUNT) { in ofCalendarField()
2533 return CAL_FIELDS[calendarField]; in ofCalendarField()
2546 return calendarField; in getCalendarField()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DDateFormat.java1848 private final int calendarField; field in DateFormat.Field
1861 protected Field(String name, int calendarField) { in Field() argument
1863 this.calendarField = calendarField; in Field()
1866 if (calendarField >= 0 && calendarField < CAL_FIELD_COUNT) { in Field()
1867 CAL_FIELDS[calendarField] = this; in Field()
1885 public static DateFormat.Field ofCalendarField(int calendarField) { in ofCalendarField() argument
1886 if (calendarField < 0 || calendarField >= CAL_FIELD_COUNT) { in ofCalendarField()
1889 return CAL_FIELDS[calendarField]; in ofCalendarField()
1902 return calendarField; in getCalendarField()
/external/icu/icu4c/source/i18n/
Ddtitvinf.cpp294 UCalendarDateFields calendarField = validateAndProcessPatternLetter(key); in processSkeletonTable() local
297 if (calendarField < UCAL_FIELD_COUNT) { in processSkeletonTable()
299 setIntervalPatternIfAbsent(currentSkeleton, calendarField, value, errorCode); in processSkeletonTable()