Home
last modified time | relevance | path

Searched refs:isCurrentLocale (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/text/src/android/text/format/cts/
DDateUtilsTest.java68 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testGetDayOfWeekString()
89 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testGetMonthString()
106 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testGetAMPMString()
118 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in test_getRelativeTimeSpanString()
144 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in test_getRelativeTimeSpanString_withContext()
182 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in test_formatElapsedTime()
205 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateRange()
218 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateRange_withFormatter()
234 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateRange_withFormatterAndTimezone()
250 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateTime()
[all …]
DLocaleUtils.java26 public static boolean isCurrentLocale(Context context, Locale locale) { in isCurrentLocale() method in LocaleUtils