Home
last modified time | relevance | path

Searched refs:variant (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/util/
DCurrency.java73 String variant = locale.getVariant(); in getInstance() local
74 if (!variant.isEmpty() && (variant.equals("EURO") || variant.equals("HK") || in getInstance()
75 variant.equals("PREEURO"))) { in getInstance()
76 country = country + "_" + variant; in getInstance()
DUUID.java50 private transient int variant; field in UUID
86 variant = 0; in init()
89 variant = (int) ((leastSigBits & 0xE000000000000000L) >>> 61); in init()
92 variant = 2; in init()
98 if (variant != 2 && version != 1) { in init()
266 public int variant() { in variant() method in UUID
267 return variant; in variant()
DLocale.java230 String variant = System.getProperty("user.variant", "");
231 defaultLocale = new Locale(language, region, variant);
270 public Locale(String language, String country, String variant) { in Locale() argument
271 if (language == null || country == null || variant == null) { in Locale()
277 variantCode = variant; in Locale()
295 variantCode = variant; in Locale()
DResourceBundle.java590 String variant = locale.getVariant(); in strip() local
591 if (!variant.isEmpty()) { in strip()
592 variant = ""; in strip()
600 return new Locale(language, country, variant); in strip()
813 String variant = locale.getVariant(); in getCandidateLocales() local
814 if (!EMPTY_STRING.equals(variant)) { in getCandidateLocales()
815 retList.add(new Locale(language, country, variant)); in getCandidateLocales()
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java125 String variant = locale.getVariant(); in makeLocaleData() local
128 if (!variant.isEmpty()) { in makeLocaleData()