/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatterBuilder.java | 726 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 …]
|
D | TCKLocalizedPrinterParser.java | 120 {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()
|
D | TCKFormatStyle.java | 114 formatter = formatter.withLocale(Locale.UK); in test_formatStyle()
|
D | TCKDateTimeFormatters.java | 151 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/ |
D | OldTimeZoneTest.java | 108 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()
|
D | DateTest.java | 66 Locale.setDefault(Locale.UK); in test_toGMTString_nonUs()
|
D | TimeZoneTest.java | 101 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()
|
D | LocaleTest.java | 1647 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/ |
D | TestTextPrinter.java | 217 {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()
|
D | TestTextParser.java | 229 {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()
|
D | TestDateTimeFormatterBuilder.java | 898 DateTimeFormatter f = builder.appendPattern(input).toFormatter(Locale.UK); in test_appendPattern_patternPrint()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CurrencyTest.java | 195 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()
|
D | FormatterTest.java | 825 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 …]
|
D | CalendarTest.java | 481 Locale.US, Locale.UK, Locale.TAIWAN, Locale.PRC, Locale.KOREA,
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKZoneId.java | 235 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/ |
D | Locale.annotated.java | 210 public static final java.util.Locale UK; field in Locale 211 static { UK = null; }
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | NumberFormatTest.java | 204 nf = NumberFormat.getCurrencyInstance(Locale.UK); in test_currencyFromLocale()
|
D | SimpleDateFormatTest.java | 274 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/ |
D | Locale.annotated.java | 205 @libcore.util.NonNull public static final java.util.Locale UK; field in Locale 206 static { UK = null; }
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 503 public static final java.util.Locale UK; field in Locale 506 UK = null;
|
/libcore/luni/src/test/java/libcore/libcore/icu/ |
D | ICUTest.java | 106 Locale en_GB = Locale.UK; in test_getDateFormatOrder()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 645 static public final Locale UK = createConstant("en", "GB"); field in Locale
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestZoneId.java | 118 assertEquals(test.getDisplayName(TextStyle.FULL, Locale.UK), "Z"); in test_constant_UTC()
|