Home
last modified time | relevance | path

Searched refs:AMPM (Results 1 – 9 of 9) sorted by relevance

/external/libtextclassifier/utils/calendar/
Dcalendar_test-include.cc29 /*ampm=*/static_cast<DateParseData::AMPM>(0), in TEST_F()
152 static_cast<DateParseData::AMPM>(0), in TEST_F()
172 static_cast<DateParseData::AMPM>(0), in TEST_F()
192 static_cast<DateParseData::AMPM>(0), in TEST_F()
212 static_cast<DateParseData::AMPM>(0), in TEST_F()
232 static_cast<DateParseData::AMPM>(0), in TEST_F()
253 /*ampm=*/static_cast<DateParseData::AMPM>(0), in TEST_F()
274 /*ampm=*/static_cast<DateParseData::AMPM>(0), in TEST_F()
295 /*ampm=*/static_cast<DateParseData::AMPM>(0), in TEST_F()
Dcalendar-common.h122 parse_data.ampm == DateParseData::AMPM::PM && parse_data.hour < 12) { in InterpretParseData()
124 } else if (parse_data.ampm == DateParseData::AMPM::AM && in InterpretParseData()
/external/libtextclassifier/annotator/
Dtypes.h351 enum class AMPM { AM = 0, PM = 1 }; enum
382 AMPM ampm = AMPM::AM;
398 int hour, int minute, int second, AMPM ampm, int zone_offset, in DateParseData()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestDayPeriods.java65 HashSet<String> AMPM = new HashSet<>(Arrays.asList("am", "pm")); in TestAttributes() local
77 if (AMPM.contains(type)) { in TestAttributes()
/external/libtextclassifier/annotator/datetime/
Dextractor.cc379 DateParseData::AMPM* parsed_ampm) const { in ParseAMPM()
382 {DatetimeExtractorType_AM, DateParseData::AMPM::AM}, in ParseAMPM()
383 {DatetimeExtractorType_PM, DateParseData::AMPM::PM}, in ParseAMPM()
Dextractor.h90 DateParseData::AMPM* parsed_ampm) const;
Dparser.cc374 interpretations->back().ampm = DateParseData::AMPM::AM; in FillInterpretations()
378 interpretations->back().ampm = DateParseData::AMPM::PM; in FillInterpretations()
/external/cldr/tools/java/org/unicode/cldr/util/
DLenientDateParser.java85 …e static final EnumSet<Type> timeTypes = EnumSet.of(Type.HOUR, Type.MINUTE, Type.SECOND, Type.AMPM,
135 case AMPM: in addToken()
343 case AMPM: in parse()
453 … ERA, YEAR, MONTH, WEEKDAY, DAY, HOUR, MINUTE, SECOND, AMPM, TIMEZONE, INTEGER, SEPARATOR, UNKNOWN; enumConstant
479 return Type.AMPM; in getType()
708 loadArray(map, symbols.getAmPmStrings(), Type.AMPM);
/external/python/dateutil/dateutil/parser/
D_parser.py292 AMPM = [("am", "a"), variable in parserinfo
305 self._ampm = self._convert(self.AMPM)