Searched defs:region (Results 1 - 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/locale/
H A DBaseLocale.java45 private final String region; field in class:BaseLocale
51 private BaseLocale(String language, String region) { argument
54 this.region = region;
58 private BaseLocale(String language, String script, String region, String variant) { argument
61 this.region = (region != null) ? LocaleUtils.toUpperString(region).intern() : "";
67 public static BaseLocale createInstance(String language, String region) { argument
68 BaseLocale base = new BaseLocale(language, region);
73 getInstance(String language, String script, String region, String variant) argument
179 Key(String language, String region) argument
199 Key(String language, String script, String region, String variant) argument
203 Key(String language, String script, String region, String variant, boolean normalized) argument
[all...]
H A DInternalLocaleBuilder.java48 private String region = ""; field in class:InternalLocaleBuilder
83 public InternalLocaleBuilder setRegion(String region) throws LocaleSyntaxException { argument
84 if (LocaleUtils.isEmpty(region)) {
85 this.region = "";
87 if (!LanguageTag.isRegion(region)) {
88 throw new LocaleSyntaxException("Ill-formed region: " + region, 0);
90 this.region = region;
359 region
[all...]
H A DLanguageTag.java55 private String region = ""; // region subtag field in class:LanguageTag
146 * ["-" region]
162 * region = 2ALPHA ; ISO 3166-1 code
303 region = s;
421 String region = baseLocale.getRegion();
445 if (isRegion(region)) {
446 tag.region = canonicalizeRegion(region);
451 if (tag.language.equals("no") && tag.region
[all...]
/libcore/ojluni/src/main/java/java/util/regex/
H A DMatcher.java58 * <i>region</i>. By default, the region contains all of the matcher's input.
59 * The region can be modified via the{@link #region region} method and queried
61 * methods. The way that the region boundaries interact with some pattern
145 * Holds the start of the region, or 0 if the matching should start at the
151 * Holds the end of the region, or input.length() if the matching should
173 * Reflects whether the bounds of the region are anchoring.
178 * Reflects whether the bounds of the region ar
836 public Matcher region(int start, int end) { method in class:Matcher
[all...]
/libcore/ojluni/src/main/java/java/util/
H A DResourceBundle.java2372 String region = base.getRegion();
2379 if (region.equals("NO") && variant.equals("NY")) {
2387 List<Locale> tmpList = getDefaultList("nb", script, region, variant);
2401 List<Locale> nynorskList = getDefaultList("nn", script, region, variant);
2410 if (script.length() == 0 && region.length() > 0) {
2413 switch (region) {
2424 } else if (script.length() > 0 && region.length() == 0) {
2425 // Supply region(country) for users who still package Chinese
2429 region = "CN";
2432 region
2441 getDefaultList(String language, String script, String region, String variant) argument
[all...]
H A DLocale.java65 * or cultural region. An operation that requires a <code>Locale</code> to perform
70 * region, or culture.
115 * <dt><a name="def_region"><b>country (region)</b></a></dt>
118 * You can find a full list of valid country and region codes in the
119 * IANA Language Subtag Registry (search for "Type: region"). The
120 * country (region) field is case insensitive, but
123 * <dd>Well-formed country/region values have
141 * region subtags. You can find a full list of valid variant codes
343 * about itself. Use <code>getCountry</code> to get the country (or region)
460 * <h5>Three-letter language/country(region) code
1910 normalizeAndValidateRegion(String region, boolean strict) argument
2644 setRegion(String region) argument
[all...]

Completed in 124 milliseconds