Home
last modified time | relevance | path

Searched refs:UK (Results 1 – 23 of 23) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatterBuilder.java726 DateTimeFormatter f = builder.appendPattern(input).toFormatter(Locale.UK); in test_appendPattern_patternPrint()
739 …pendValue(HOUR_OF_DAY, 2).appendValue(MINUTE_OF_HOUR, 2).appendLiteral('9').toFormatter(Locale.UK); in test_adjacent_strict_firstFixedWidth()
751 ….appendValue(HOUR_OF_DAY).appendValue(MINUTE_OF_HOUR, 2).appendLiteral('Z').toFormatter(Locale.UK); in test_adjacent_strict_firstVariableWidth_success()
763 ….appendValue(HOUR_OF_DAY).appendValue(MINUTE_OF_HOUR, 2).appendLiteral('9').toFormatter(Locale.UK); in test_adjacent_strict_firstVariableWidth_fails()
773 …pendValue(HOUR_OF_DAY, 2).appendValue(MINUTE_OF_HOUR, 2).appendLiteral('9').toFormatter(Locale.UK); in test_adjacent_lenient()
785 ….appendValue(HOUR_OF_DAY).appendValue(MINUTE_OF_HOUR, 2).appendLiteral('Z').toFormatter(Locale.UK); in test_adjacent_lenient_firstVariableWidth_success()
797 ….appendValue(HOUR_OF_DAY).appendValue(MINUTE_OF_HOUR, 2).appendLiteral('9').toFormatter(Locale.UK); in test_adjacent_lenient_firstVariableWidth_fails()
808 ….appendValue(MINUTE_OF_HOUR, 2).appendFraction(NANO_OF_SECOND, 0, 3, false).toFormatter(Locale.UK); in test_adjacent_strict_fractionFollows()
821 ….appendValue(MINUTE_OF_HOUR, 2).appendFraction(NANO_OF_SECOND, 0, 3, false).toFormatter(Locale.UK); in test_adjacent_strict_fractionFollows_2digit()
834 ….appendValue(MINUTE_OF_HOUR, 2).appendFraction(NANO_OF_SECOND, 0, 3, false).toFormatter(Locale.UK); in test_adjacent_strict_fractionFollows_0digit()
[all …]
DTCKLocalizedPrinterParser.java120 {LocalDate.of(2012, 6, 30), FormatStyle.SHORT, DateFormat.SHORT, Locale.UK}, in data_date()
125 {LocalDate.of(2012, 6, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.UK}, in data_date()
130 {LocalDate.of(2012, 6, 30), FormatStyle.LONG, DateFormat.LONG, Locale.UK}, in data_date()
135 {LocalDate.of(2012, 6, 30), FormatStyle.FULL, DateFormat.FULL, Locale.UK}, in data_date()
172 {LocalTime.of(11, 30), FormatStyle.SHORT, DateFormat.SHORT, Locale.UK}, in data_time()
177 {LocalTime.of(11, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.UK}, in data_time()
DTCKFormatStyle.java114 formatter = formatter.withLocale(Locale.UK); in test_formatStyle()
DTCKDateTimeFormatters.java151 DateTimeFormatter test = DateTimeFormatter.ofPattern("d MMM yyyy", Locale.UK); in test_pattern_StringLocale()
153 assertEquals(test.getLocale(), Locale.UK); in test_pattern_StringLocale()
158 DateTimeFormatter.ofPattern("p", Locale.UK); in test_pattern_StringLocale_invalid()
163 DateTimeFormatter.ofPattern(null, Locale.UK); in test_pattern_StringLocale_nullPattern()
/libcore/luni/src/test/java/libcore/java/util/
DOldTimeZoneTest.java108 assertEquals("Pacific Standard Time", tz.getDisplayName(false, TimeZone.LONG, Locale.UK)); in test_getDisplayNameZILjava_util_Locale()
122 assertEquals("GMT-08:00", tz.getDisplayName(false, TimeZone.SHORT, Locale.UK)); in test_getDisplayNameZILjava_util_Locale()
123 assertEquals("GMT-07:00", tz.getDisplayName(true, TimeZone.SHORT, Locale.UK)); in test_getDisplayNameZILjava_util_Locale()
DDateTest.java66 Locale.setDefault(Locale.UK); in test_toGMTString_nonUs()
DTimeZoneTest.java101 assertEquals("GMT+03:30", iranTz.getDisplayName(false, TimeZone.SHORT, Locale.UK)); in testGetDisplayNameShort_nonHourOffsets()
102 assertEquals("GMT+04:30", iranTz.getDisplayName(true, TimeZone.SHORT, Locale.UK)); in testGetDisplayNameShort_nonHourOffsets()
DLocaleTest.java1647 Locale.setDefault(Locale.Category.FORMAT, Locale.UK); in test_setDefault_withCategory()
1648 assertEquals(Locale.UK, Locale.getDefault(Locale.Category.FORMAT)); in test_setDefault_withCategory()
1653 assertEquals(Locale.UK, Locale.getDefault(Locale.Category.FORMAT)); in test_setDefault_withCategory()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestTextPrinter.java217 {Locale.UK, "e", "1", DayOfWeek.MONDAY}, in providerDayOfWeekData()
218 {Locale.UK, "ee", "01", DayOfWeek.MONDAY}, in providerDayOfWeekData()
219 {Locale.UK, "c", "1", DayOfWeek.MONDAY}, in providerDayOfWeekData()
DTestTextParser.java229 {Locale.UK, "e", "1", DayOfWeek.MONDAY}, in providerDayOfWeekData()
230 {Locale.UK, "ee", "01", DayOfWeek.MONDAY}, in providerDayOfWeekData()
231 {Locale.UK, "c", "1", DayOfWeek.MONDAY}, in providerDayOfWeekData()
DTestDateTimeFormatterBuilder.java898 DateTimeFormatter f = builder.appendPattern(input).toFormatter(Locale.UK); in test_appendPattern_patternPrint()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCurrencyTest.java195 Locale.US, Locale.UK, in test_getSymbolLjava_util_Locale()
371 Locale.UK, Locale.US); in test_getCurrencyCode()
406 Locale.UK, Locale.US); in test_toString()
DFormatterTest.java825 formatter = new Formatter(Locale.UK); in test_formatLjava_lang_String$Ljava_lang_Object_ArgIndex()
2935 .toUpperCase(Locale.UK), f.toString()); in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionE()
3123 .toUpperCase(Locale.UK), f.toString()); in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionG()
3590 f = new Formatter(Locale.UK); in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionA()
3597 f = new Formatter(Locale.UK); in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionA()
3601 .toUpperCase(Locale.UK), f.toString()); in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionA()
3846 f = new Formatter(Locale.UK); in test_formatLjava_lang_String$Ljava_lang_Object_FloatDoubleBigDecimalConversionException()
3856 f = new Formatter(Locale.UK); in test_formatLjava_lang_String$Ljava_lang_Object_FloatDoubleBigDecimalConversionException()
3864 f = new Formatter(Locale.UK); in test_formatLjava_lang_String$Ljava_lang_Object_FloatDoubleBigDecimalConversionException()
4069 f = new Formatter(Locale.UK); in test_formatLjava_lang_String$Ljava_lang_Object_FloatDoubleBigDecimalNullConversion()
[all …]
DCalendarTest.java481 Locale.US, Locale.UK, Locale.TAIWAN, Locale.PRC, Locale.KOREA,
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneId.java235 assertEquals(test.getDisplayName(TextStyle.FULL, Locale.UK), id); in factory_of_String_offsetBasedValid_noPrefix()
283 assertEquals(test.getDisplayName(TextStyle.FULL, Locale.UK), displayName("UTC" + id)); in factory_of_String_offsetBasedValid_prefixUTC()
294 assertEquals(test.getDisplayName(TextStyle.FULL, Locale.UK), displayName("GMT" + id)); in factory_of_String_offsetBasedValid_prefixGMT()
305 assertEquals(test.getDisplayName(TextStyle.FULL, Locale.UK), displayName("UT" + id)); in factory_of_String_offsetBasedValid_prefixUT()
/libcore/ojluni/annotations/mmodule/java/util/
DLocale.annotated.java210 public static final java.util.Locale UK; field in Locale
211 static { UK = null; }
/libcore/luni/src/test/java/libcore/java/text/
DNumberFormatTest.java204 nf = NumberFormat.getCurrencyInstance(Locale.UK); in test_currencyFromLocale()
DSimpleDateFormatTest.java274 assertEquals(1293104697000L, parseDateUtc(Locale.UK, fmt, date).getTimeInMillis()); in testParsingUncommonTimeZoneAbbreviations()
290 Locale cetUnambiguousLocale = Locale.UK; in testFormattingUncommonTimeZoneAbbreviations()
886 checkParseNarrowFormat_throws(Locale.UK); in testParseNarrowFormat_throws()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DLocale.annotated.java205 @libcore.util.NonNull public static final java.util.Locale UK; field in Locale
206 static { UK = null; }
/libcore/ojluni/annotations/hiddenapi/java/util/
DLocale.java503 public static final java.util.Locale UK; field in Locale
506 UK = null;
/libcore/luni/src/test/java/libcore/libcore/icu/
DICUTest.java106 Locale en_GB = Locale.UK; in test_getDateFormatOrder()
/libcore/ojluni/src/main/java/java/util/
DLocale.java645 static public final Locale UK = createConstant("en", "GB"); field in Locale
/libcore/ojluni/src/test/java/time/test/java/time/
DTestZoneId.java118 assertEquals(test.getDisplayName(TextStyle.FULL, Locale.UK), "Z"); in test_constant_UTC()