Home
last modified time | relevance | path

Searched refs:setLocale (Results 1 - 25 of 171) sorted by relevance

1234567

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
H A DBasicDurationFormatterFactory.java120 public DurationFormatterFactory setLocale(String localeName) { in setLocale() method in BasicDurationFormatterFactory
180 .setLocale(localeName) in getPeriodFormatter()
194 .setLocale(localeName) in getPeriodBuilder()
H A DBasicDurationFormat.java61 formatter = pfs.newDurationFormatterFactory().setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
62 pformatter = pfs.newPeriodFormatterFactory().setDisplayPastFuture(false).setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
H A DBasicPeriodBuilderFactory.java148 Settings setLocale(String localeName) { in setLocale() method in BasicPeriodBuilderFactory.Settings
254 public PeriodBuilderFactory setLocale(String localeName) { in setLocale() method in BasicPeriodBuilderFactory
255 settings = settings.setLocale(localeName); in setLocale()
358 BasicPeriodBuilderFactory.Settings newSettings = settings.setLocale(localeName); in withLocale()
H A DPeriodFormatterFactory.java28 public PeriodFormatterFactory setLocale(String localeName); in setLocale() method
H A DDurationFormatterFactory.java64 public DurationFormatterFactory setLocale(String localeName); in setLocale() method
H A DPeriodBuilderFactory.java74 * not call this API and instead call {@link #setLocale}.
87 PeriodBuilderFactory setLocale(String localeName); in setLocale() method
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/
H A DBasicDurationFormatterFactory.java121 public DurationFormatterFactory setLocale(String localeName) { in setLocale() method in BasicDurationFormatterFactory
181 .setLocale(localeName) in getPeriodFormatter()
195 .setLocale(localeName) in getPeriodBuilder()
H A DBasicDurationFormat.java63 formatter = pfs.newDurationFormatterFactory().setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
64 pformatter = pfs.newPeriodFormatterFactory().setDisplayPastFuture(false).setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
H A DBasicPeriodBuilderFactory.java149 Settings setLocale(String localeName) { in setLocale() method in BasicPeriodBuilderFactory.Settings
255 public PeriodBuilderFactory setLocale(String localeName) { in setLocale() method in BasicPeriodBuilderFactory
256 settings = settings.setLocale(localeName); in setLocale()
359 BasicPeriodBuilderFactory.Settings newSettings = settings.setLocale(localeName); in withLocale()
H A DPeriodFormatterFactory.java30 public PeriodFormatterFactory setLocale(String localeName); in setLocale() method
H A DDurationFormatterFactory.java66 public DurationFormatterFactory setLocale(String localeName); in setLocale() method
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DTimeUnitTest.java107 format.setLocale(new ULocale("pt_BR")); in TestAPI()
118 format.setLocale(es); in TestAPI()
121 format.setLocale(new Locale("pt_BR")); in TestAPI()
136 tuf.setLocale(Locale.GERMAN); in TestClone()
358 * Tests the method public TimeUnitFormat setLocale(ULocale locale) public TimeUnitFormat setLocale(Locale locale)
364 if (!tuf.setLocale(new ULocale("en_US")).equals(tuf) && !tuf.setLocale(new Locale("en_US")).equals(tuf)) { in TestSetLocale()
365 errln("TimeUnitFormat.setLocale(ULocale) was suppose to " in TestSetLocale()
H A DGlobalizationPreferencesTest.java195 // setLocale(ULocale) in TestFreezable()
196 logln("Call setLocale(ULocale) after frozen"); in TestFreezable()
199 gp.setLocale(new ULocale("fi_FI")); in TestFreezable()
204 errln("FAIL: setLocale(ULocale) must be blocked after frozen"); in TestFreezable()
227 // setLocale(ULocale) in TestFreezable()
228 logln("Call setLocale(ULocale) of the modifiable clone"); in TestFreezable()
231 gp1.setLocale(new ULocale("fr_FR")); in TestFreezable()
390 // gp.setLocale(new ULocale("ko_KR")); in TestSetLocales()
469 gp.setLocale(new ULocale("ang")); in TestTerritory()
477 gp.setLocale(ne in TestTerritory()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DTimeUnitTest.java104 format.setLocale(new ULocale("pt_BR")); in TestAPI()
115 format.setLocale(es); in TestAPI()
118 format.setLocale(new Locale("pt_BR")); in TestAPI()
133 tuf.setLocale(Locale.GERMAN); in TestClone()
355 * Tests the method public TimeUnitFormat setLocale(ULocale locale) public TimeUnitFormat setLocale(Locale locale)
361 if (!tuf.setLocale(new ULocale("en_US")).equals(tuf) && !tuf.setLocale(new Locale("en_US")).equals(tuf)) { in TestSetLocale()
362 errln("TimeUnitFormat.setLocale(ULocale) was suppose to " in TestSetLocale()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
H A DGlobalizationPreferencesTest.java192 // setLocale(ULocale) in TestFreezable()
193 logln("Call setLocale(ULocale) after frozen"); in TestFreezable()
196 gp.setLocale(new ULocale("fi_FI")); in TestFreezable()
201 errln("FAIL: setLocale(ULocale) must be blocked after frozen"); in TestFreezable()
224 // setLocale(ULocale) in TestFreezable()
225 logln("Call setLocale(ULocale) of the modifiable clone"); in TestFreezable()
228 gp1.setLocale(new ULocale("fr_FR")); in TestFreezable()
387 // gp.setLocale(new ULocale("ko_KR")); in TestSetLocales()
466 gp.setLocale(new ULocale("ang")); in TestTerritory()
474 gp.setLocale(ne in TestTerritory()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DTimeUnitFormat.java47 * format.setLocale(new ULocale("en"));
107 * Use setLocale and/or setFormat to modify.
177 public TimeUnitFormat setLocale(ULocale locale) { in setLocale() method in TimeUnitFormat
178 setLocale(locale, locale); in setLocale()
190 public TimeUnitFormat setLocale(Locale locale) { in setLocale() method in TimeUnitFormat
191 return setLocale(ULocale.forLocale(locale)); in setLocale()
340 setLocale(locale, locale); in setup()
H A DPersonNameFormatter.java218 public Builder setLocale(Locale locale) { in setLocale() method in PersonNameFormatter.Builder
327 builder.setLocale(impl.getLocale()); in toBuilder()
H A DBreakIteratorFactory.java76 iter.setLocale(actualLoc[0], actualLoc[0]); // services make no distinction between actual & valid in createBreakIterator()
172 iter.setLocale(uloc, uloc); in createBreakInstance()
H A DUFormat.java101 final void setLocale(ULocale valid, ULocale actual) { in setLocale() method in UFormat
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DTimeUnitFormat.java48 * format.setLocale(new ULocale("en"));
109 * Use setLocale and/or setFormat to modify.
179 public TimeUnitFormat setLocale(ULocale locale) { in setLocale() method in TimeUnitFormat
180 setLocale(locale, locale); in setLocale()
192 public TimeUnitFormat setLocale(Locale locale) { in setLocale() method in TimeUnitFormat
193 return setLocale(ULocale.forLocale(locale)); in setLocale()
342 setLocale(locale, locale); in setup()
H A DBreakIteratorFactory.java77 iter.setLocale(actualLoc[0], actualLoc[0]); // services make no distinction between actual & valid in createBreakIterator()
164 iter.setLocale(uloc, uloc); in createBreakInstance()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/
H A DCustomFormatterGrammarCaseTest.java94 .setLocale(Locale.forLanguageTag("ro")) in test()
105 .setLocale(Locale.forLanguageTag("ro")) in test()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DLocaleBuilderTest.java148 bld.setLocale(new ULocale(TESTCASE[tidx][i++])); in TestLocaleBuilder()
208 bld.setLocale(loc); in TestSetLocale()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DLocaleBuilderTest.java145 bld.setLocale(new ULocale(TESTCASE[tidx][i++])); in TestLocaleBuilder()
205 bld.setLocale(loc); in TestSetLocale()
/third_party/node/deps/icu-small/source/common/
H A Dulocbuilder.cpp48 INTERNAL(builder)->setLocale(l); in ulocbld_setLocale()
54 INTERNAL(builder)->setLocale(*(reinterpret_cast<const icu::Locale*>(locale))); in ulocbld_adoptULocale()

Completed in 12 milliseconds

1234567