Home
last modified time | relevance | path

Searched refs:getDateInstance (Results 1 – 25 of 35) sorted by relevance

12

/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDateFormatTest.java76 df = DateFormat.getDateInstance(dstyle, loc); in getJDKInstance()
95 icudf = com.ibm.icu.text.DateFormat.getDateInstance(dstyle, loc); in getICUInstance()
185 DateFormat dfmt = DateFormat.getDateInstance(DateFormat.FULL, thTHTH); in TestThaiDigit()
186 …DateFormat dfmtIcu = DateFormat.getDateInstance(DateFormat.FULL, TestUtil.toICUExtendedLocale(thTH… in TestThaiDigit()
212 DateFormat jdkDfmt = DateFormat.getDateInstance(DateFormat.FULL, loc); in TestCalendarKeyword()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormat.java1277 public final static DateFormat getDateInstance() in getDateInstance() method in DateFormat
1295 public final static DateFormat getDateInstance(int style) in getDateInstance() method in DateFormat
1313 public final static DateFormat getDateInstance(int style, in getDateInstance() method in DateFormat
1332 public final static DateFormat getDateInstance(int style, in getDateInstance() method in DateFormat
1762 static final public DateFormat getDateInstance(Calendar cal, int dateStyle, Locale locale) in getDateInstance() method in DateFormat
1780 static final public DateFormat getDateInstance(Calendar cal, int dateStyle, ULocale locale) in getDateInstance() method in DateFormat
1937 static final public DateFormat getDateInstance(Calendar cal, int dateStyle) { in getDateInstance() method in DateFormat
1938 return getDateInstance(cal, dateStyle, ULocale.getDefault(Category.FORMAT)); in getDateInstance()
DMessageFormat.java2210 newFormat = DateFormat.getDateInstance(DateFormat.DEFAULT, ulocale); in createAppropriateFormat()
2213 newFormat = DateFormat.getDateInstance(DateFormat.SHORT, ulocale); in createAppropriateFormat()
2216 newFormat = DateFormat.getDateInstance(DateFormat.DEFAULT, ulocale); in createAppropriateFormat()
2219 newFormat = DateFormat.getDateInstance(DateFormat.LONG, ulocale); in createAppropriateFormat()
2222 newFormat = DateFormat.getDateInstance(DateFormat.FULL, ulocale); in createAppropriateFormat()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/
DDateFormatProviderICU.java22 public DateFormat getDateInstance(int style, Locale locale) { in getDateInstance() method in DateFormatProviderICU
47 icuDfmt = com.ibm.icu.text.DateFormat.getDateInstance(dstyle, actual); in getInstance()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowDateFormat.java14 return java.text.DateFormat.getDateInstance(); in getDateFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCopticTest.java341 DateFormat gDF = DateFormat.getDateInstance(gCal,DateFormat.FULL); in TestYear()
350 DateFormat cDF = DateFormat.getDateInstance(cCal,DateFormat.FULL); in TestYear()
360 DateFormat eDF = DateFormat.getDateInstance(eCal,DateFormat.FULL); in TestYear()
DIndianTest.java219 DateFormat gDF = DateFormat.getDateInstance(gCal,DateFormat.FULL); in TestYear()
228 DateFormat iDF = DateFormat.getDateInstance(iCal,DateFormat.FULL); in TestYear()
DJapaneseTest.java205 DateFormat fmt2= DateFormat.getDateInstance(); //DateFormat.LONG, Locale.US); in Test5345parse()
342 SimpleDateFormat jdf = (SimpleDateFormat) SimpleDateFormat.getDateInstance(jcal, in TestJapaneseYear3282()
DChineseTest.java296 DateFormat fmt = DateFormat.getDateInstance(cal, DateFormat.DEFAULT); in TestResolution()
648 DateFormat fmt2 = DateFormat.getDateInstance(ccal2, DateFormat.DEFAULT, ULocale.CHINA); in TestCoverage()
DAstroTest.java249 DateFormat day = DateFormat.getDateInstance(cal, DateFormat.MEDIUM, Locale.US); in TestSunriseTimes()
DDangiTest.java173 DateFormat fmt = DateFormat.getDateInstance(cal, DateFormat.DEFAULT); in TestResolution()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleAliasTest.java106 DateFormat df1 = DateFormat.getDateInstance(DateFormat.FULL, oldLoc); in TestDateFormat()
107 DateFormat df2 = DateFormat.getDateInstance(DateFormat.FULL, newLoc); in TestDateFormat()
/external/messageformat/java/com/ibm/icu/simple/
DMessageFormat.java2124 newFormat = DateFormat.getDateInstance(DateFormat.DEFAULT, locale_); in createAppropriateFormat()
2127 newFormat = DateFormat.getDateInstance(DateFormat.SHORT, locale_); in createAppropriateFormat()
2130 newFormat = DateFormat.getDateInstance(DateFormat.DEFAULT, locale_); in createAppropriateFormat()
2133 newFormat = DateFormat.getDateInstance(DateFormat.LONG, locale_); in createAppropriateFormat()
2136 newFormat = DateFormat.getDateInstance(DateFormat.FULL, locale_); in createAppropriateFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java1621 DateFormat fmt = DateFormat.getDateInstance(DateFormat.FULL, new Locale("cs", "", "")); in TestCzechMonths459()
1705 SimpleDateFormat sdf = (SimpleDateFormat)DateFormat.getDateInstance(); in TestDayOfYearPattern195()
1872 DateFormat fmt = DateFormat.getDateInstance(DateFormat.SHORT, Locale.US); in TestTwoDigitYear()
2063 date = DateFormat.getDateInstance(DateFormat.SHORT, Locale.US); in TestDateFormatCalendar()
2291 f = DateFormat.getDateInstance(); in TestCoverage()
3546 df = DateFormat.getDateInstance(DateFormat.MEDIUM, testLocales[i]); in TestCalendarType()
3555 df = DateFormat.getDateInstance(cal, DateFormat.MEDIUM, locNoKeywords); in TestCalendarType()
3708 DateFormat fmtRelDate = DateFormat.getDateInstance(dateStyle, loc); in TestRelativeDateFormat()
4155 …DateFormat dfmt = (item.style >= 0)? DateFormat.getDateInstance(item.style, locale): new SimpleDat… in TestMonthPatterns()
4274 dfmt = DateFormat.getDateInstance(item.style, locale); in TestNonGregoFmtParse()
[all …]
DIntlTestDateFormat.java88 fFormat = DateFormat.getDateInstance(dateStyle, locale); in localeTest()
DIntlTestDateFormatAPI.java82 DateFormat it = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.ITALIAN); in TestAPI()
DDateFormatRoundTripTest.java117 DateFormat df = DateFormat.getDateInstance(style, loc); in _test()
DNumberFormatRegressionTest.java77 DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, loc); in TestJ691()
DDateFormatRegressionTest.java54 SimpleDateFormat sdf = (SimpleDateFormat) DateFormat.getDateInstance(); in Test4029195()
312 shortdate = DateFormat.getDateInstance(DateFormat.SHORT); in Test4065240()
400 DateFormat fmt = DateFormat.getDateInstance(DateFormat.SHORT, Locale.US); in Test4073003()
1193 … DateFormat fmt = DateFormat.getDateInstance(DateFormat.MEDIUM, new ULocale("en@calendar=dangi")); in TestDangiFormat()
DDateTimeGeneratorTest.java600 … String pattern1 = ((SimpleDateFormat) DateFormat.getDateInstance(style1, uLocale)).toPattern(); in showOrderComparison()
601 … String pattern2 = ((SimpleDateFormat) DateFormat.getDateInstance(style2, uLocale)).toPattern(); in showOrderComparison()
723 String pattern = ((SimpleDateFormat) DateFormat.getDateInstance(style, locale)).toPattern(); in getOrdering()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRelativeDateFormat.java68 DateFormat df = DateFormat.getDateInstance(newStyle, locale); in RelativeDateFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneAliasTest.java151 static private final DateFormat df = DateFormat.getDateInstance(DateFormat.LONG, Locale.US);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatTests.java1020 DateFormat.getDateInstance(DateFormat.RELATIVE_LONG,new ULocale("en")), in getTestObjects()
1021 DateFormat.getDateInstance(DateFormat.RELATIVE_SHORT,new ULocale("ru")), in getTestObjects()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/cldr/
DTestCLDRVsICU.java491 dt = DateFormat.getDateInstance(DateFormatValues[dateFormat], locale);
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1316 …DateFormat customFD = DateFormat.getDateInstance(new IslamicCalendar(), DateFormat.FULL, new ULoca… in TestDateFormat()
1333 …DateFormat customLD = DateFormat.getDateInstance(new BuddhistCalendar(), DateFormat.LONG, new ULoc… in TestDateFormat()

12