Home
last modified time | relevance | path

Searched refs:getDateFormat (Results 1 – 25 of 43) sorted by relevance

12

/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1195 df = gp.getDateFormat(GlobalizationPreferences.DF_SHORT, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1210 df = gp.getDateFormat(GlobalizationPreferences.DF_SHORT, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1223 df = gp.getDateFormat(GlobalizationPreferences.DF_FULL, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1230 df = gp.getDateFormat(GlobalizationPreferences.DF_LONG, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1237 df = gp.getDateFormat(GlobalizationPreferences.DF_MEDIUM, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1244 df = gp.getDateFormat(GlobalizationPreferences.DF_SHORT, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1251 df = gp.getDateFormat(GlobalizationPreferences.DF_NONE, GlobalizationPreferences.DF_FULL); in TestDateFormat()
1258 df = gp.getDateFormat(GlobalizationPreferences.DF_NONE, GlobalizationPreferences.DF_LONG); in TestDateFormat()
1265 df = gp.getDateFormat(GlobalizationPreferences.DF_NONE, GlobalizationPreferences.DF_MEDIUM); in TestDateFormat()
1272 df = gp.getDateFormat(GlobalizationPreferences.DF_NONE, GlobalizationPreferences.DF_SHORT); in TestDateFormat()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DGlobalizationPreferencesTest.java1198 df = gp.getDateFormat(GlobalizationPreferences.DF_SHORT, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1213 df = gp.getDateFormat(GlobalizationPreferences.DF_SHORT, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1226 df = gp.getDateFormat(GlobalizationPreferences.DF_FULL, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1233 df = gp.getDateFormat(GlobalizationPreferences.DF_LONG, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1240 df = gp.getDateFormat(GlobalizationPreferences.DF_MEDIUM, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1247 df = gp.getDateFormat(GlobalizationPreferences.DF_SHORT, GlobalizationPreferences.DF_NONE); in TestDateFormat()
1254 df = gp.getDateFormat(GlobalizationPreferences.DF_NONE, GlobalizationPreferences.DF_FULL); in TestDateFormat()
1261 df = gp.getDateFormat(GlobalizationPreferences.DF_NONE, GlobalizationPreferences.DF_LONG); in TestDateFormat()
1268 df = gp.getDateFormat(GlobalizationPreferences.DF_NONE, GlobalizationPreferences.DF_MEDIUM); in TestDateFormat()
1275 df = gp.getDateFormat(GlobalizationPreferences.DF_NONE, GlobalizationPreferences.DF_SHORT); in TestDateFormat()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcaltztst.cpp43 DateFormat* CalendarTimeZoneTest::getDateFormat() in getDateFormat() function in CalendarTimeZoneTest
150 DateFormat* format = getDateFormat(); in dateToString()
166 DateFormat* format = getDateFormat(); in dateToString()
Dcaltztst.h57 DateFormat* getDateFormat(void);
Ddtifmtts.cpp309 const DateFormat* dfmt = dtitvfmt->getDateFormat(); in testAPI()
1754 static_cast<const SimpleDateFormat*>(fmt->getDateFormat())->toPattern(pattern); in testTicket11985()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDateFormatTest.java34 assertEquals("Jan-12-1970", DateFormat.getDateFormat(null).format(date)); in getDateFormat_returnsADateFormat_January()
45 assertEquals("Dec-31-1970", DateFormat.getDateFormat(null).format(date)); in getDateFormat_returnsADateFormat_December()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDateFormat.java13 protected static java.text.DateFormat getDateFormat(Context context) { in getDateFormat() method in ShadowDateFormat
/external/cldr/tools/java/org/unicode/cldr/util/
DICUServiceBuilder.java179 public SimpleDateFormat getDateFormat(String calendar, int dateIndex, int timeIndex) { in getDateFormat() method in ICUServiceBuilder
180 return getDateFormat(calendar, dateIndex, timeIndex, null); in getDateFormat()
183 …public SimpleDateFormat getDateFormat(String calendar, int dateIndex, int timeIndex, String number… in getDateFormat() method in ICUServiceBuilder
196 public SimpleDateFormat getDateFormat(String calendar, String pattern, String numbersOverride) { in getDateFormat() method in ICUServiceBuilder
206 public SimpleDateFormat getDateFormat(String calendar, String pattern) { in getDateFormat() method in ICUServiceBuilder
207 return getDateFormat(calendar, pattern, null); in getDateFormat()
934 SimpleDateFormat df = getDateFormat("gregorian", pattern);
DZoneFormats.java40 SimpleDateFormat dateFormat = icuServiceBuilder.getDateFormat("gregorian", in formatGMT()
DDateTimeFormats.java524 … icuServiceBuilder.getDateFormat(calendarID, generator.getBestPattern(mainSkeleton))); in getExample()
621 return getDateFormat(pattern); in getDateFormatFromSkeleton()
624 private SimpleDateFormat getDateFormat(String pattern) { in getDateFormat() method in DateTimeFormats
625 SimpleDateFormat format = icuServiceBuilder.getDateFormat(calendarID, pattern); in getDateFormat()
DTimezoneFormatter.java162 hourFormatPlus = icuServiceBuilder.getDateFormat("gregorian", 0, 1); in TimezoneFormatter()
164 hourFormatMinus = icuServiceBuilder.getDateFormat("gregorian", 0, 1); in TimezoneFormatter()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/
DMapperConfig.java590 public final DateFormat getDateFormat() { return _base.getDateFormat(); } in getDateFormat() method in MapperConfig
DBaseSettings.java375 public DateFormat getDateFormat() { in getDateFormat() method in BaseSettings
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DDateDeserializers.java139 DateFormat df = ctxt.getConfig().getDateFormat(); in createContextual()
162 DateFormat df = ctxt.getConfig().getDateFormat(); in createContextual()
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java1053 … SimpleDateFormat sdf = icuServiceBuilder.getDateFormat(calendar, 0, DateFormat.MEDIUM, null); in handleAppendItems()
1126 firstFormat = icuServiceBuilder.getDateFormat(calendar, first.toString()); in setPattern()
1129 secondFormat = icuServiceBuilder.getDateFormat(calendar, second.toString()); in setPattern()
1136 DateFormat df = this.icuServiceBuilder.getDateFormat("gregorian", value.replace('h', 'H')); in handleDurationUnit()
1519 …SimpleDateFormat df = icuServiceBuilder.getDateFormat(calendar, dateFormatValue, dateNumbersOverri… in handleDateFormatItem()
1520 …SimpleDateFormat tf = icuServiceBuilder.getDateFormat(calendar, timeFormatValue, timeNumbersOverri… in handleDateFormatItem()
1525 SimpleDateFormat dtf = icuServiceBuilder.getDateFormat(calendar, in handleDateFormatItem()
1534 … SimpleDateFormat sdf = icuServiceBuilder.getDateFormat(calendar, value, numbersOverride); in handleDateFormatItem()
1705 SimpleDateFormat dateFormat = icuServiceBuilder.getDateFormat("gregorian", 2, 0); in handleDateRangePattern()
2043 …SimpleDateFormat dateFormat = icuServiceBuilder.getDateFormat("gregorian", plusMinus[hours >= 0 ? … in getGMTFormat()
[all …]
DFlexibleDateFromCLDR.java121 DateFormat df = icuServiceBuilder.getDateFormat("gregorian", pat); in showFlexibles()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DDateTimeSerializerBase.java99 DateFormat df0 = serializers.getConfig().getDateFormat(); in createContextual()
/external/icu/libicu/cts_headers/unicode/
Ddtitvfmt.h631 const DateFormat* getDateFormat(void) const;
/external/icu/icu4c/source/i18n/unicode/
Ddtitvfmt.h631 const DateFormat* getDateFormat(void) const;
/external/cldr/tools/java/org/unicode/cldr/icu/
DTestCldr.java470 SimpleDateFormat dt = getDateFormat(locale, dateFormat, timeFormat);
485 private SimpleDateFormat getDateFormat(ULocale locale, int dateFormat,
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DDeserializationContext.java2048 protected DateFormat getDateFormat() { in getDateFormat() method in DeserializationContext
2061 DateFormat df = _config.getDateFormat(); in _getDateFormat()
DSerializerProvider.java1518 DateFormat df = _config.getDateFormat(); in _dateFormat()
DObjectMapper.java2340 public DateFormat getDateFormat() {
2342 return _serializationConfig.getDateFormat();
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java685 public DateFormat getDateFormat(int dateStyle, int timeStyle) { in getDateFormat() method in GlobalizationPreferences
/external/icu/android_icu4j/src/main/java/android/icu/util/
DGlobalizationPreferences.java658 public DateFormat getDateFormat(int dateStyle, int timeStyle) { in getDateFormat() method in GlobalizationPreferences

12