Home
last modified time | relevance | path

Searched refs:AM_PM (Results 1 – 25 of 44) sorted by relevance

12

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DDateIntervalFormat.java815 } else if ( fromCalendar.get(Calendar.AM_PM) != in getPatterns()
816 toCalendar.get(Calendar.AM_PM) ) { in getPatterns()
817 field = Calendar.AM_PM; in getPatterns()
914 } else if ( fromCalendar.get(Calendar.AM_PM) != in formatImpl()
915 toCalendar.get(Calendar.AM_PM) ) { in formatImpl()
916 field = Calendar.AM_PM; in formatImpl()
935 …boolean fromToOnSameDay = (field==Calendar.AM_PM || field==Calendar.HOUR || field==Calendar.MINUTE… in formatImpl()
1459 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.AM_PM, intervalPatterns); in initializeIntervalPattern()
1778 … genIntervalPattern(Calendar.AM_PM, skeleton, bestSkeleton, differenceInfo, intervalPatterns); in genSeparateDateTimePtn()
1829 if ( field == Calendar.AM_PM ) { in genIntervalPattern()
DDateFormat.java2204 public static final Field AM_PM = new Field("am pm", Calendar.AM_PM); field in DateFormat.Field
DSimpleDateFormat.java1443 /*wWa*/ Calendar.WEEK_OF_YEAR, Calendar.WEEK_OF_MONTH, Calendar.AM_PM,
1489 … /*wWa*/ DateFormat.Field.WEEK_OF_YEAR, DateFormat.Field.WEEK_OF_MONTH, DateFormat.Field.AM_PM,
1923 value = cal.get(Calendar.AM_PM); in subFormat()
2620 cal.set(Calendar.AM_PM, 0); in parse()
2622 cal.set(Calendar.AM_PM, 1); in parse()
3446 … if ((newStart = matchString(text, start, Calendar.AM_PM, formatData.ampms, null, cal)) > 0) { in subParse()
3452 …if ((newStart = matchString(text, start, Calendar.AM_PM, formatData.ampmsNarrow, null, cal)) > 0) { in subParse()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalFormat.java843 } else if ( fromCalendar.get(Calendar.AM_PM) != in getPatterns()
844 toCalendar.get(Calendar.AM_PM) ) { in getPatterns()
845 field = Calendar.AM_PM; in getPatterns()
948 } else if ( fromCalendar.get(Calendar.AM_PM) != in formatImpl()
949 toCalendar.get(Calendar.AM_PM) ) { in formatImpl()
950 field = Calendar.AM_PM; in formatImpl()
969 …boolean fromToOnSameDay = (field==Calendar.AM_PM || field==Calendar.HOUR || field==Calendar.MINUTE… in formatImpl()
1551 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.AM_PM, intervalPatterns); in initializeIntervalPattern()
1951 … genIntervalPattern(Calendar.AM_PM, skeleton, bestSkeleton, differenceInfo, intervalPatterns); in genSeparateDateTimePtn()
2002 if ( field == Calendar.AM_PM ) { in genIntervalPattern()
DDateIntervalInfo.java547 patternLetter = CALENDAR_FIELD_TO_PATTERN_LETTER[Calendar.AM_PM]; in validateAndProcessPatternLetter()
751 CALENDAR_FIELD_TO_PATTERN_LETTER[Calendar.AM_PM], in setIntervalPattern()
DDateFormat.java2364 public static final Field AM_PM = new Field("am pm", Calendar.AM_PM); field in DateFormat.Field
DSimpleDateFormat.java1449 /*wWa*/ Calendar.WEEK_OF_YEAR, Calendar.WEEK_OF_MONTH, Calendar.AM_PM,
1495 … /*wWa*/ DateFormat.Field.WEEK_OF_YEAR, DateFormat.Field.WEEK_OF_MONTH, DateFormat.Field.AM_PM,
1936 value = cal.get(Calendar.AM_PM); in subFormat()
2643 cal.set(Calendar.AM_PM, 0); in parse()
2645 cal.set(Calendar.AM_PM, 1); in parse()
3542 … if ((newStart = matchString(text, start, Calendar.AM_PM, formatData.ampms, null, cal)) > 0) { in subParse()
3548 …if ((newStart = matchString(text, start, Calendar.AM_PM, formatData.ampmsNarrow, null, cal)) > 0) { in subParse()
/third_party/node/deps/v8/src/date/
Ddateparser.cc133 {'a', 'm', '\0', DateParser::AM_PM, 0},
134 {'p', 'm', '\0', DateParser::AM_PM, 12},
Ddateparser.h136 AM_PM enumerator
Ddateparser-inl.h119 if (type == AM_PM && !time.IsEmpty()) { in Parse()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java836 public final static int AM_PM = 9; field in Calendar
2487 case AM_PM: in getActualMaximum()
2537 case AM_PM: in getActualMinimum()
2816 case AM_PM: in roll()
3260 case AM_PM: in add()
4431 case AM_PM: in getLimit()
5079 fields[AM_PM] = millisInDay / 12; // Assume AM == 0 in computeFields()
5469 newestStamp(AM_PM, MILLISECOND, UNSET) <= stamp[MILLISECONDS_IN_DAY]) { in computeTime()
5683 int hourStamp = Math.max(stamp[HOUR], stamp[AM_PM]); in computeMillisInDay()
5696 millisInDay += 12 * internalGet(AM_PM); // Default works for unset AM_PM in computeMillisInDay()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCalendar.java823 public final static int AM_PM = 9; field in Calendar
2393 case AM_PM: in getActualMaximum()
2442 case AM_PM: in getActualMinimum()
2718 case AM_PM: in roll()
3161 case AM_PM: in add()
4226 case AM_PM: in getLimit()
4835 fields[AM_PM] = millisInDay / 12; // Assume AM == 0 in computeFields()
5215 newestStamp(AM_PM, MILLISECOND, UNSET) <= stamp[MILLISECONDS_IN_DAY]) { in computeTime()
5429 int hourStamp = Math.max(stamp[HOUR], stamp[AM_PM]); in computeMillisInDay()
5442 millisInDay += 12 * internalGet(AM_PM); // Default works for unset AM_PM in computeMillisInDay()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DDebugUtilitiesData.java131 com.ibm.icu.util.Calendar.AM_PM, /* 9 */
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DDebugUtilitiesData.java135 ohos.global.icu.util.Calendar.AM_PM, /* 9 */
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DSimpleDateFormatICU.java319 if (icuAttribute == DateFormat.Field.AM_PM) { in mapAttribute()
320 jdkAttribute = java.text.DateFormat.Field.AM_PM; in mapAttribute()
DCalendarICU.java306 case AM_PM: in getFieldStrings()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DTestMessageFormat.java1654 … expectedAttributedStrings[0].addAttribute(DateFormat.Field.AM_PM, DateFormat.Field.AM_PM, 61, 63); in TestFormatToCharacterIterator()
1671 … expectedAttributedStrings[1].addAttribute(DateFormat.Field.AM_PM, DateFormat.Field.AM_PM, 61, 63); in TestFormatToCharacterIterator()
DFormattedValueTest.java147 ((matching & 4) != 0), cfpos.matchesField(DateFormat.Field.AM_PM, null)); in assertAllPartsEqual()
DDateIntervalFormatTest.java1999 {DateFormat.Field.AM_PM, 11, 13}, in testFormattedDateInterval()
2002 {DateFormat.Field.AM_PM, 18, 20}}; in testFormattedDateInterval()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java1651 … expectedAttributedStrings[0].addAttribute(DateFormat.Field.AM_PM, DateFormat.Field.AM_PM, 61, 63); in TestFormatToCharacterIterator()
1668 … expectedAttributedStrings[1].addAttribute(DateFormat.Field.AM_PM, DateFormat.Field.AM_PM, 61, 63); in TestFormatToCharacterIterator()
DFormattedValueTest.java144 ((matching & 4) != 0), cfpos.matchesField(DateFormat.Field.AM_PM, null)); in assertAllPartsEqual()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarCalc.java101 new RollAddField(Calendar.AM_PM, "AM/PM" ),
/third_party/icu/icu4c/source/i18n/unicode/
Dcalendar.h215 AM_PM, // Example: 0..1 enumerator
/third_party/node/deps/icu-small/source/i18n/unicode/
Dcalendar.h215 AM_PM, // Example: 0..1 enumerator
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dcalendar.h215 AM_PM, // Example: 0..1 enumerator

12