Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DChineseDateFormat.java211 protected Field(String name, int calendarField) { in Field() argument
212 super(name, calendarField); in Field()
229 public static DateFormat.Field ofCalendarField(int calendarField) { in ofCalendarField() argument
232 if (calendarField == ChineseCalendar.IS_LEAP_MONTH) { in ofCalendarField()
235 return DateFormat.Field.ofCalendarField(calendarField); in ofCalendarField()
DDateFormat.java2364 private final int calendarField; field in DateFormat.Field
2375 protected Field(String name, int calendarField) { in Field() argument
2377 this.calendarField = calendarField; in Field()
2380 if (calendarField >= 0 && calendarField < CAL_FIELD_COUNT) { in Field()
2381 CAL_FIELDS[calendarField] = this; in Field()
2397 public static DateFormat.Field ofCalendarField(int calendarField) { in ofCalendarField() argument
2398 if (calendarField < 0 || calendarField >= CAL_FIELD_COUNT) { in ofCalendarField()
2401 return CAL_FIELDS[calendarField]; in ofCalendarField()
2412 return calendarField; in getCalendarField()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DChineseDateFormat.java208 protected Field(String name, int calendarField) { in Field() argument
209 super(name, calendarField); in Field()
226 public static DateFormat.Field ofCalendarField(int calendarField) { in ofCalendarField() argument
229 if (calendarField == ChineseCalendar.IS_LEAP_MONTH) { in ofCalendarField()
232 return DateFormat.Field.ofCalendarField(calendarField); in ofCalendarField()
DDateFormat.java2549 private final int calendarField; field in DateFormat.Field
2562 protected Field(String name, int calendarField) { in Field() argument
2564 this.calendarField = calendarField; in Field()
2567 if (calendarField >= 0 && calendarField < CAL_FIELD_COUNT) { in Field()
2568 CAL_FIELDS[calendarField] = this; in Field()
2586 public static DateFormat.Field ofCalendarField(int calendarField) { in ofCalendarField() argument
2587 if (calendarField < 0 || calendarField >= CAL_FIELD_COUNT) { in ofCalendarField()
2590 return CAL_FIELDS[calendarField]; in ofCalendarField()
2603 return calendarField; in getCalendarField()
/third_party/icu/icu4c/source/i18n/
Ddtitvinf.cpp296 UCalendarDateFields calendarField = validateAndProcessPatternLetter(key); in processSkeletonTable() local
299 if (calendarField < UCAL_FIELD_COUNT) { in processSkeletonTable()
301 setIntervalPatternIfAbsent(currentSkeleton, calendarField, value, errorCode); in processSkeletonTable()
/third_party/node/deps/icu-small/source/i18n/
Ddtitvinf.cpp296 UCalendarDateFields calendarField = validateAndProcessPatternLetter(key); in processSkeletonTable() local
299 if (calendarField < UCAL_FIELD_COUNT) { in processSkeletonTable()
301 setIntervalPatternIfAbsent(currentSkeleton, calendarField, value, errorCode); in processSkeletonTable()
/third_party/skia/third_party/externals/icu/source/i18n/
Ddtitvinf.cpp297 UCalendarDateFields calendarField = validateAndProcessPatternLetter(key); in processSkeletonTable() local
300 if (calendarField < UCAL_FIELD_COUNT) { in processSkeletonTable()
302 setIntervalPatternIfAbsent(currentSkeleton, calendarField, value, errorCode); in processSkeletonTable()