Home
last modified time | relevance | path

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

12

/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalFormat.java644 } else if ( fromCalendar.get(Calendar.AM_PM) != in getPatterns()
645 toCalendar.get(Calendar.AM_PM) ) { in getPatterns()
646 field = Calendar.AM_PM; in getPatterns()
705 } else if ( fromCalendar.get(Calendar.AM_PM) != in format()
706 toCalendar.get(Calendar.AM_PM) ) { in format()
707 field = Calendar.AM_PM; in format()
723 …boolean fromToOnSameDay = (field==Calendar.AM_PM || field==Calendar.HOUR || field==Calendar.MINUTE… in format()
1233 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.AM_PM, intervalPatterns); in initializeIntervalPattern()
1536 … genIntervalPattern(Calendar.AM_PM, skeleton, bestSkeleton, differenceInfo, intervalPatterns); in genSeparateDateTimePtn()
1587 if ( field == Calendar.AM_PM ) { in genIntervalPattern()
DDateIntervalInfo.java470 } else if ( key.equals(CALENDAR_FIELD_TO_PATTERN_LETTER[Calendar.AM_PM]) ) { in setup()
471 calendarField = Calendar.AM_PM; in setup()
633 CALENDAR_FIELD_TO_PATTERN_LETTER[Calendar.AM_PM], in setIntervalPattern()
DDateFormat.java2113 public static final Field AM_PM = new Field("am pm", Calendar.AM_PM); field in DateFormat.Field
DSimpleDateFormat.java1377 /*wWa*/ Calendar.WEEK_OF_YEAR, Calendar.WEEK_OF_MONTH, Calendar.AM_PM,
1421 … /*wWa*/ DateFormat.Field.WEEK_OF_YEAR, DateFormat.Field.WEEK_OF_MONTH, DateFormat.Field.AM_PM,
3124 … if ((newStart = matchString(text, start, Calendar.AM_PM, formatData.ampms, null, cal)) > 0) { in subParse()
3130 …if ((newStart = matchString(text, start, Calendar.AM_PM, formatData.ampmsNarrow, null, cal)) > 0) { in subParse()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalFormat.java651 } else if ( fromCalendar.get(Calendar.AM_PM) != in getPatterns()
652 toCalendar.get(Calendar.AM_PM) ) { in getPatterns()
653 field = Calendar.AM_PM; in getPatterns()
713 } else if ( fromCalendar.get(Calendar.AM_PM) != in format()
714 toCalendar.get(Calendar.AM_PM) ) { in format()
715 field = Calendar.AM_PM; in format()
731 …boolean fromToOnSameDay = (field==Calendar.AM_PM || field==Calendar.HOUR || field==Calendar.MINUTE… in format()
1245 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.AM_PM, intervalPatterns); in initializeIntervalPattern()
1548 … genIntervalPattern(Calendar.AM_PM, skeleton, bestSkeleton, differenceInfo, intervalPatterns); in genSeparateDateTimePtn()
1599 if ( field == Calendar.AM_PM ) { in genIntervalPattern()
DDateIntervalInfo.java479 } else if ( key.equals(CALENDAR_FIELD_TO_PATTERN_LETTER[Calendar.AM_PM]) ) { in setup()
480 calendarField = Calendar.AM_PM; in setup()
643 CALENDAR_FIELD_TO_PATTERN_LETTER[Calendar.AM_PM], in setIntervalPattern()
DDateFormat.java2276 public static final Field AM_PM = new Field("am pm", Calendar.AM_PM); field in DateFormat.Field
DSimpleDateFormat.java1386 /*wWa*/ Calendar.WEEK_OF_YEAR, Calendar.WEEK_OF_MONTH, Calendar.AM_PM,
1430 … /*wWa*/ DateFormat.Field.WEEK_OF_YEAR, DateFormat.Field.WEEK_OF_MONTH, DateFormat.Field.AM_PM,
3140 … if ((newStart = matchString(text, start, Calendar.AM_PM, formatData.ampms, null, cal)) > 0) { in subParse()
3146 …if ((newStart = matchString(text, start, Calendar.AM_PM, formatData.ampmsNarrow, null, cal)) > 0) { in subParse()
/external/v8/src/
Ddateparser.cc133 {'a', 'm', '\0', DateParser::AM_PM, 0},
134 {'p', 'm', '\0', DateParser::AM_PM, 12},
Ddateparser.h123 INVALID, MONTH_NAME, TIME_ZONE_NAME, TIME_SEPARATOR, AM_PM enumerator
Ddateparser-inl.h121 if (type == AM_PM && !time.IsEmpty()) { in Parse()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DCalendar.java811 public final static int AM_PM = 9; field in Calendar
2453 case AM_PM: in getJDKField()
2454 return java.util.Calendar.AM_PM; in getJDKField()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DSimpleDateFormat.java490 if (attr.equals(java.text.DateFormat.Field.AM_PM)) { in formatToCharacterIterator()
491 val = attr = Field.AM_PM; in formatToCharacterIterator()
DDateFormat.java1689 public static final Field AM_PM = new Field("am pm", Calendar.AM_PM); field in DateFormat.Field
2032 if (fieldAttribute.equals(Field.AM_PM)) { in toJDKFieldPosition()
2033 fieldAttribute = java.text.DateFormat.Field.AM_PM; in toJDKFieldPosition()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCalendar.java820 public final static int AM_PM = 9; field in Calendar
2417 case AM_PM: in getActualMaximum()
2466 case AM_PM: in getActualMinimum()
2742 case AM_PM: in roll()
3185 case AM_PM: in add()
4216 case AM_PM: in getLimit()
4823 fields[AM_PM] = millisInDay / 12; // Assume AM == 0 in computeFields()
5203 newestStamp(AM_PM, MILLISECOND, UNSET) <= stamp[MILLISECONDS_IN_DAY]) { in computeTime()
5404 int hourStamp = Math.max(stamp[HOUR], stamp[AM_PM]); in computeMillisInDay()
5417 millisInDay += 12 * internalGet(AM_PM); // Default works for unset AM_PM in computeMillisInDay()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java831 public final static int AM_PM = 9; field in Calendar
2512 case AM_PM: in getActualMaximum()
2562 case AM_PM: in getActualMinimum()
2841 case AM_PM: in roll()
3285 case AM_PM: in add()
4340 case AM_PM: in getLimit()
4986 fields[AM_PM] = millisInDay / 12; // Assume AM == 0 in computeFields()
5376 newestStamp(AM_PM, MILLISECOND, UNSET) <= stamp[MILLISECONDS_IN_DAY]) { in computeTime()
5578 int hourStamp = Math.max(stamp[HOUR], stamp[AM_PM]); in computeMillisInDay()
5591 millisInDay += 12 * internalGet(AM_PM); // Default works for unset AM_PM in computeMillisInDay()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DDebugUtilitiesData.java129 android.icu.util.Calendar.AM_PM, /* 9 */
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DDebugUtilitiesData.java128 com.ibm.icu.util.Calendar.AM_PM, /* 9 */
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DSimpleDateFormatICU.java317 if (icuAttribute == DateFormat.Field.AM_PM) { in mapAttribute()
318 jdkAttribute = java.text.DateFormat.Field.AM_PM; in mapAttribute()
DCalendarICU.java299 case AM_PM: in getFieldStrings()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java1609 … expectedAttributedStrings[0].addAttribute(DateFormat.Field.AM_PM, DateFormat.Field.AM_PM, 61, 63); in TestFormatToCharacterIterator()
1626 … expectedAttributedStrings[1].addAttribute(DateFormat.Field.AM_PM, DateFormat.Field.AM_PM, 61, 63); in TestFormatToCharacterIterator()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTestMessageFormat.java1613 … expectedAttributedStrings[0].addAttribute(DateFormat.Field.AM_PM, DateFormat.Field.AM_PM, 61, 63); in TestFormatToCharacterIterator()
1630 … expectedAttributedStrings[1].addAttribute(DateFormat.Field.AM_PM, DateFormat.Field.AM_PM, 61, 63); in TestFormatToCharacterIterator()
/external/jsilver/src/org/clearsilver/jni/
DJniHdf.java235 cal.get(Calendar.AM_PM) == Calendar.AM ? "1" : "0"); in exportDate()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarCalc.java99 new RollAddField(Calendar.AM_PM, "AM/PM" ),
/external/icu/icu4c/source/i18n/unicode/
Dcalendar.h226 AM_PM, // Example: 0..1 enumerator

12