Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/util/
DLocales.java24 import static java.util.Locale.Category.FORMAT;
94 Locale.setDefault(FORMAT, formatLocale); in setAsDefault()
99 Locale.getDefault(), Locale.getDefault(DISPLAY), Locale.getDefault(FORMAT)); in getDefault()
DLocaleTest.java1625 assertEquals(Locale.US, Locale.getDefault(Locale.Category.FORMAT)); in test_setDefault_withCategory()
1629 Locale.setDefault(Locale.Category.FORMAT, Locale.UK); in test_setDefault_withCategory()
1630 assertEquals(Locale.UK, Locale.getDefault(Locale.Category.FORMAT)); in test_setDefault_withCategory()
1635 assertEquals(Locale.UK, Locale.getDefault(Locale.Category.FORMAT)); in test_setDefault_withCategory()
1640 assertEquals(Locale.FRANCE, Locale.getDefault(Locale.Category.FORMAT)); in test_setDefault_withCategory()
1646 assertEquals(Locale.US, Locale.getDefault(Locale.Category.FORMAT)); in test_setDefault_withCategory()
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java456 return get(DEFAULT, 0, 1, Locale.getDefault(Locale.Category.FORMAT)); in getTimeInstance()
473 return get(style, 0, 1, Locale.getDefault(Locale.Category.FORMAT)); in getTimeInstance()
502 return get(0, DEFAULT, 2, Locale.getDefault(Locale.Category.FORMAT)); in getDateInstance()
519 return get(0, style, 2, Locale.getDefault(Locale.Category.FORMAT)); in getDateInstance()
548 return get(DEFAULT, DEFAULT, 3, Locale.getDefault(Locale.Category.FORMAT)); in getDateTimeInstance()
568 return get(timeStyle, dateStyle, 3, Locale.getDefault(Locale.Category.FORMAT)); in getDateTimeInstance()
DNumberFormat.java419 return getInstance(Locale.getDefault(Locale.Category.FORMAT), NUMBERSTYLE); in getInstance()
448 return getInstance(Locale.getDefault(Locale.Category.FORMAT), NUMBERSTYLE); in getNumberInstance()
481 return getInstance(Locale.getDefault(Locale.Category.FORMAT), INTEGERSTYLE); in getIntegerInstance()
513 return getInstance(Locale.getDefault(Locale.Category.FORMAT), CURRENCYSTYLE); in getCurrencyInstance()
538 return getInstance(Locale.getDefault(Locale.Category.FORMAT), PERCENTSTYLE); in getPercentInstance()
DDateFormatSymbols.java123 initializeData(Locale.getDefault(Locale.Category.FORMAT)); in DateFormatSymbols()
394 return getInstance(Locale.getDefault(Locale.Category.FORMAT)); in getInstance()
DDecimalFormatSymbols.java81 initialize( Locale.getDefault(Locale.Category.FORMAT) ); in DecimalFormatSymbols()
133 return getInstance(Locale.getDefault(Locale.Category.FORMAT)); in getInstance()
DMessageFormat.java362 this.locale = Locale.getDefault(Locale.Category.FORMAT); in MessageFormat()
/libcore/benchmarks/src/benchmarks/regression/
DDecimalFormatSymbolsBenchmark.java23 private static Locale locale = Locale.getDefault(Locale.Category.FORMAT);
DNumberFormatBenchmark.java24 private static Locale locale = Locale.getDefault(Locale.Category.FORMAT);
/libcore/support/src/test/java/tests/resources/x509/
Ddefault.cnf177 1.2.3.4.99999.1.2.3.4 = critical,ASN1:FORMAT:BITLIST,BITSTRING:0,1,2
184 keyUsage=ASN1:FORMAT:BITLIST,BITSTRING:0,1,2,3,4,5,6,7,8,9,10
207 IP.1 = IMPLICIT:7,FORMAT:HEX,OCTETSTRING:0A
214 IP.1 = IMPLICIT:7,FORMAT:HEX,OCTETSTRING:20010DB8000000000000FF0000428329
/libcore/ojluni/src/main/java/java/time/format/
DDecimalStyle.java143 return of(Locale.getDefault(Locale.Category.FORMAT)); in ofDefaultLocale()
/libcore/luni/src/main/native/
Dlibcore_icu_ICU.cpp637 dateFormatSym.getMonths(count, icu::DateFormatSymbols::FORMAT, icu::DateFormatSymbols::WIDE); in ICU_initLocaleDataNative()
640 …dateFormatSym.getMonths(count, icu::DateFormatSymbols::FORMAT, icu::DateFormatSymbols::ABBREVIATED… in ICU_initLocaleDataNative()
643 … dateFormatSym.getMonths(count, icu::DateFormatSymbols::FORMAT, icu::DateFormatSymbols::NARROW); in ICU_initLocaleDataNative()
646 … dateFormatSym.getWeekdays(count, icu::DateFormatSymbols::FORMAT, icu::DateFormatSymbols::WIDE); in ICU_initLocaleDataNative()
649 …dateFormatSym.getWeekdays(count, icu::DateFormatSymbols::FORMAT, icu::DateFormatSymbols::ABBREVIAT… in ICU_initLocaleDataNative()
652 … dateFormatSym.getWeekdays(count, icu::DateFormatSymbols::FORMAT, icu::DateFormatSymbols::NARROW); in ICU_initLocaleDataNative()
/libcore/ojluni/src/main/java/sun/util/locale/provider/
DCalendarDataUtility.java320 return DateFormatSymbols.FORMAT; in toContext()
/libcore/ojluni/src/main/java/java/util/
DFormatter.java1918 this(Locale.getDefault(Locale.Category.FORMAT), new StringBuilder()); in Formatter()
1934 this(Locale.getDefault(Locale.Category.FORMAT), nonNullAppendable(a)); in Formatter()
2000 this(Locale.getDefault(Locale.Category.FORMAT), in Formatter()
2039 this(fileName, csn, Locale.getDefault(Locale.Category.FORMAT)); in Formatter()
2111 this(Locale.getDefault(Locale.Category.FORMAT), in Formatter()
2150 this(file, csn, Locale.getDefault(Locale.Category.FORMAT)); in Formatter()
2208 this(Locale.getDefault(Locale.Category.FORMAT), in Formatter()
2229 this(Locale.getDefault(Locale.Category.FORMAT), in Formatter()
2256 this(os, csn, Locale.getDefault(Locale.Category.FORMAT)); in Formatter()
DCalendar.java1586 this(TimeZone.getDefaultRef(), Locale.getDefault(Locale.Category.FORMAT)); in Calendar()
1625 return createCalendar(TimeZone.getDefault(), Locale.getDefault(Locale.Category.FORMAT)); in getInstance()
1639 return createCalendar(zone, Locale.getDefault(Locale.Category.FORMAT)); in getInstance()
DGregorianCalendar.java592 this(TimeZone.getDefaultRef(), Locale.getDefault(Locale.Category.FORMAT)); in GregorianCalendar()
604 this(zone, Locale.getDefault(Locale.Category.FORMAT)); in GregorianCalendar()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DCharacterTest.java731 assertEquals("Wrong constant for FORMAT", 16, Character.FORMAT);
797 assertTrue(Character.getType(0x00AD) == Character.FORMAT);
798 assertTrue(Character.getType(0xE007F) == Character.FORMAT);
/libcore/ojluni/annotations/mmodule/java/util/
DLocale.annotated.java252 FORMAT; enumConstant
/libcore/ojluni/annotations/hiddenapi/java/util/
DLocale.java627 FORMAT; enumConstant
/libcore/ojluni/annotations/sdk/nullability/java/util/
DLocale.annotated.java248 FORMAT; enumConstant
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DCharacter.annotated.java269 public static final byte FORMAT = 16; // 0x10 field in Character
/libcore/ojluni/annotations/hiddenapi/java/lang/
DCharacter.java523 public static final byte FORMAT = 16; // 0x10 field in Character
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatters.java130 Locale fmtLocale = Locale.getDefault(Locale.Category.FORMAT); in test_pattern_String()