Home
last modified time | relevance | path

Searched refs:timeFormat (Results 1 – 14 of 14) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/icu/
DTestCldr.java436 int timeFormat = 0;
453 timeFormat = lookupValue(attributeValue, DateFormatNames);
466 SimpleDateFormat dt = getDateFormat(locale, dateFormat, timeFormat);
473 + DateFormatNames[timeFormat] + ",\tCLDR: <" + result
482 int timeFormat) {
490 dt = DateFormat.getTimeInstance(DateFormatValues[timeFormat], locale);
493 } else if (timeFormat == 0) {
499 DateFormatValues[timeFormat], locale);
504 System.out.println("\tinput:\t" + dateFormat + ", " + timeFormat
/external/cldr/tools/java/org/unicode/cldr/test/
DTestCLDRTests.java286 int timeFormat = DateFormat.DEFAULT;
302 timeFormat = value;
305 DateFormat dt = dateFormat == -1 ? DateFormat.getTimeInstance(timeFormat, oLocale)
306 : timeFormat == -1 ? DateFormat.getDateInstance(dateFormat, oLocale)
307 : DateFormat.getDateTimeInstance(dateFormat, timeFormat, oLocale);
DExampleGenerator.java1232 …String timeFormat = setBackground(cldrFile.getWinningValue("//ldml/dates/timeZoneNames/regionForma… in handleTimeZoneName() local
1233 result = format(timeFormat, result); in handleTimeZoneName()
1859 String timeFormat = cldrFile in getMZTimeFormat() local
1862 if (timeFormat == null) { in getMZTimeFormat()
1863 timeFormat = "HH:mm"; in getMZTimeFormat()
1866 SimpleDateFormat dateFormat = icuServiceBuilder.getDateFormat("gregorian", timeFormat); in getMZTimeFormat()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCoverageLevel.txt42 …ndar\[@type=".*"]/timeFormats/timeFormatLength\[@type="(long|medium)"]/timeFormat\[@type=".*"]/pat…
DTestExamples.txt13 //ldml/dates/calendars/calendar[@type="%A"]/timeFormats/timeFormatLength[@type="%A"]/timeFormat[@ty…
/external/cldr/tools/c/genldml/resources/
Droot.txt280 "{0}<timeFormat {1}>\n"
283 "{0}</timeFormat>\n"
/external/cldr/tools/java/org/unicode/cldr/util/data/
DprettyPath.txt71 '$%%/timeFormats/timeFormatLength[@type="' ($avalue) '"]/timeFormat[@type="standard"]/pattern[@type…
126 '$%%/timeFormats/default' > '|default|timeFormat';
DPathHeader.txt87 …s/calendar[@type="gregorian"]/timeFormats/timeFormatLength[@type="%A"]/timeFormat[@type="%A"]/patt…
88 //ldml/dates/calendars/calendar[@type="%A"]/timeFormats/timeFormatLength[@type="%A"]/timeFormat[@ty…
DPathDescription.txt154 …endar\[@type="([^"]*)"]/timeFormats/timeFormatLength\[@type="([^"]*)"]/timeFormat\[@type="([^"]*)"…
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTestMessageFormat.java1262 DateFormat timeFormat = DateFormat.getTimeInstance(DateFormat.MEDIUM); in testNumericFormatWithMap() local
1265 fmtMap.put("2", timeFormat); in testNumericFormatWithMap()
DDateFormatTest.java4655 DateFormat timeFormat = DateFormat.getTimeInstance(timeStyle, locale); in TestDotAndAtLeniency() local
4660 … formattedString = dateFormat.format(TEST_DATE) + " " + timeFormat.format(TEST_DATE); in TestDotAndAtLeniency()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java1259 DateFormat timeFormat = DateFormat.getTimeInstance(DateFormat.MEDIUM); in testNumericFormatWithMap() local
1262 fmtMap.put("2", timeFormat); in testNumericFormatWithMap()
DDateFormatTest.java4652 DateFormat timeFormat = DateFormat.getTimeInstance(timeStyle, locale); in TestDotAndAtLeniency() local
4657 … formattedString = dateFormat.format(TEST_DATE) + " " + timeFormat.format(TEST_DATE); in TestDotAndAtLeniency()
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp4444 … LocalPointer<DateFormat> timeFormat(DateFormat::createTimeInstance(timeStyle, locale)); in TestDotAndAtLeniency() local
4457 … formattedString = dateFormat->format(TEST_DATE, ds) + " " + timeFormat->format(TEST_DATE, ts); in TestDotAndAtLeniency()