OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:uLocale
(Results
1 - 12
of
12
) sorted by null
/external/cldr/tools/java/org/unicode/cldr/tool/
GenerateIndexCharacters.java
21
import com.ibm.icu.util.
ULocale
;
39
ULocale
uLocale
= new
ULocale
(locale);
40
Collator collator = Collator.getInstance(
uLocale
);
42
AlphabeticIndex<String> index = new AlphabeticIndex<String>(
uLocale
);
PluralRulesFactory.java
22
import com.ibm.icu.util.
ULocale
;
32
public abstract boolean hasOverride(
ULocale
locale);
76
public boolean hasOverride(
ULocale
locale) {
81
public PluralRules forLocale(
ULocale
locale, PluralType ordinal) {
86
public
ULocale
[] getAvailableULocales() {
91
public
ULocale
getFunctionalEquivalent(
ULocale
locale, boolean[] isAvailable) {
102
// public boolean hasOverride(
ULocale
locale) {
107
// public PluralRules forLocale(
ULocale
locale, PluralType ordinal) {
117
// public
ULocale
[] getAvailableULocales()
[
all
...]
ExtractMessages.java
31
import com.ibm.icu.util.
ULocale
;
190
public static Collator col = Collator.getInstance(
ULocale
.ENGLISH);
199
private
ULocale
uLocale
;
222
value = dataHandler.fixValue(
uLocale
, value);
246
this.
uLocale
= new
ULocale
(locale);
247
String lang =
uLocale
.getLanguage();
311
static DateFormatSymbols dfs = new DateFormatSymbols(
ULocale
.ENGLISH);
378
public String fixValue(
ULocale
uLocale, String value)
[
all
...]
ShowKeyboards.java
58
import com.ibm.icu.util.
ULocale
;
462
final
ULocale
uLocale
=
ULocale
.forLanguageTag(key);
463
String script =
uLocale
.getScript();
464
String writtenLanguage =
uLocale
.getLanguage() + (script.isEmpty() ? "" : "_" + script);
471
// final String heading =
uLocale
.getDisplayName(
ULocale
.ENGLISH)
472
// + "\t" +
ULocale
.addLikelySubtags(
uLocale
).getScript(
[
all
...]
/cts/tests/tests/text/src/android/text/cts/
MyanmarTest.java
28
import android.icu.util.
ULocale
;
75
final String script =
ULocale
.addLikelySubtags(
ULocale
.forLocale(locale)).getScript();
158
final
ULocale
uLocale
=
ULocale
.addLikelySubtags(
ULocale
.forLocale(fontLocale));
159
final String script =
uLocale
.getScript();
/external/cldr/tools/java/org/unicode/cldr/test/
CheckCasing.java
11
import com.ibm.icu.util.
ULocale
;
25
ULocale
uLocale
= null;
33
uLocale
= new
ULocale
(cldrFileToCheck.getLocaleID());
34
breaker = BreakIterator.getWordInstance(
uLocale
);
63
newValue = UCharacter.toLowerCase(
uLocale
, value);
66
newValue = UCharacter.toTitleCase(
uLocale
, value, null);
69
newValue = TitleCaseFirst(
uLocale
, value);
89
private String TitleCaseFirst(
ULocale
locale, String value)
[
all
...]
TestCLDRTests.java
44
import com.ibm.icu.util.
ULocale
;
52
ULocale
uLocale
=
ULocale
.ENGLISH;
53
Locale oLocale = Locale.ENGLISH; // TODO Drop once ICU4J has
ULocale
everywhere
111
uLocale
= new
ULocale
(localeName);
112
oLocale =
uLocale
.toLocale();
144
String temp =
uLocale
+ "\t" + message + "\t[" + name;
153
MutableInteger foo = results.get(
uLocale
.getDisplayName())
[
all
...]
CheckConsistentCasing.java
28
import com.ibm.icu.util.
ULocale
;
39
ULocale
uLocale
= null;
/external/cldr/tools/java/org/unicode/cldr/util/
DayPeriodConverter.java
19
import com.ibm.icu.util.
ULocale
;
28
ULocale
locale;
91
static final Map<
ULocale
, DayInfo> DATA = new LinkedHashMap<>();
94
ULocale
locale = new
ULocale
(x[0]);
134
ULocale
uLocale
= new
ULocale
(locale);
171
String name = getNativeName(
uLocale
, dayPeriod);
176
String name = getNativeName(
uLocale
, dayPeriod)
234
ULocale
ulocale
= new ULocale(locale);
local
[
all
...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DateTimeGeneratorTest.java
44
import android.icu.util.
ULocale
;
86
DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(
ULocale
.forLanguageTag(test[0]));
154
ULocale
locale =
ULocale
.GERMANY;
186
DateTimePatternGenerator enGen = DateTimePatternGenerator.getInstance(
ULocale
.ENGLISH);
188
SimpleDateFormat enFormat = (SimpleDateFormat)DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL,
ULocale
.ENGLISH);
223
DateTimePatternGenerator rootGen = DateTimePatternGenerator.getInstance(
ULocale
.ROOT);
224
SimpleDateFormat rootFormat = new SimpleDateFormat(rootGen.getBestPattern("yMdHms"),
ULocale
.ROOT);
234
SimpleDateFormat format = new SimpleDateFormat(nullGen.getBestPattern("yMdHms"),
ULocale
.ROOT);
321
ULocale
uLocale = null
[
all
...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DateTimeGeneratorTest.java
43
import com.ibm.icu.util.
ULocale
;
83
DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(
ULocale
.forLanguageTag(test[0]));
151
ULocale
locale =
ULocale
.GERMANY;
183
DateTimePatternGenerator enGen = DateTimePatternGenerator.getInstance(
ULocale
.ENGLISH);
185
SimpleDateFormat enFormat = (SimpleDateFormat)DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL,
ULocale
.ENGLISH);
220
DateTimePatternGenerator rootGen = DateTimePatternGenerator.getInstance(
ULocale
.ROOT);
221
SimpleDateFormat rootFormat = new SimpleDateFormat(rootGen.getBestPattern("yMdHms"),
ULocale
.ROOT);
231
SimpleDateFormat format = new SimpleDateFormat(nullGen.getBestPattern("yMdHms"),
ULocale
.ROOT);
318
ULocale
uLocale = null
[
all
...]
/external/cldr/tools/java/libs/
icu4j.jar
Completed in 8391 milliseconds