Home
last modified time | relevance | path

Searched refs:setLocale (Results 1 – 25 of 108) sorted by relevance

12345

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicDurationFormatterFactory.java113 public DurationFormatterFactory setLocale(String localeName) { in setLocale() method in BasicDurationFormatterFactory
171 .setLocale(localeName) in getPeriodFormatter()
185 .setLocale(localeName) in getPeriodBuilder()
DBasicPeriodBuilderFactory.java146 Settings setLocale(String localeName) { in setLocale() method in BasicPeriodBuilderFactory.Settings
244 public PeriodBuilderFactory setLocale(String localeName) { in setLocale() method in BasicPeriodBuilderFactory
245 settings = settings.setLocale(localeName); in setLocale()
339 BasicPeriodBuilderFactory.Settings newSettings = settings.setLocale(localeName);
DBasicDurationFormat.java59 formatter = pfs.newDurationFormatterFactory().setLocale(locale.getName()).getFormatter(); in BasicDurationFormat()
60 …pformatter = pfs.newPeriodFormatterFactory().setDisplayPastFuture(false).setLocale(locale.getName(… in BasicDurationFormat()
DPeriodFormatterFactory.java26 public PeriodFormatterFactory setLocale(String localeName); in setLocale() method
DDurationFormatterFactory.java62 public DurationFormatterFactory setLocale(String localeName); in setLocale() method
DPeriodBuilderFactory.java85 PeriodBuilderFactory setLocale(String localeName); in setLocale() method
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java97 format.setLocale(new ULocale("pt_BR")); in TestAPI()
108 format.setLocale(es); in TestAPI()
111 format.setLocale(new Locale("pt_BR")); in TestAPI()
125 tuf.setLocale(Locale.GERMAN); in TestClone()
329 …if (!tuf.setLocale(new ULocale("en_US")).equals(tuf) && !tuf.setLocale(new Locale("en_US")).equals… in TestSetLocale()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java194 gp.setLocale(new ULocale("fi_FI")); in TestFreezable()
226 gp1.setLocale(new ULocale("fr_FR")); in TestFreezable()
374 gp.setLocale(new ULocale("ko_KR")); in TestSetLocales()
451 gp.setLocale(new ULocale("ang")); in TestTerritory()
459 gp.setLocale(new ULocale("fr")); in TestTerritory()
519 gp.setLocale(new ULocale("ja")); in TestCurrency()
529 gp.setLocale(new ULocale("ja_US")); in TestCurrency()
613 gp.setLocale(new ULocale("pt")); in TestCalendar()
692 gp.setLocale(new ULocale("zh_CN")); in TestTimeZone()
701 gp.setLocale(new ULocale("en")); in TestTimeZone()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DConfigurationTest.java37 shConfiguration.setLocale( Locale.US ); in testSetLocale()
40 shConfiguration.setLocale( Locale.FRANCE); in testSetLocale()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java160 setLocale(locale, locale); in TimeUnitFormat()
188 public TimeUnitFormat setLocale(ULocale locale) { in setLocale() method in TimeUnitFormat
193 setLocale(locale, locale); in setLocale()
207 public TimeUnitFormat setLocale(Locale locale) { in setLocale() method in TimeUnitFormat
208 return setLocale(ULocale.forLocale(locale)); in setLocale()
351 setLocale(locale, locale); in setup()
DBreakIteratorFactory.java69 … iter.setLocale(actualLoc[0], actualLoc[0]); // services make no distinction between actual & valid in createBreakIterator()
154 iter.setLocale(uloc, uloc); in createBreakInstance()
DUFormat.java81 final void setLocale(ULocale valid, ULocale actual) { in setLocale() method in UFormat
DDurationFormat.java51 setLocale(locale,locale); in DurationFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleBuilderTest.java142 bld.setLocale(new ULocale(TESTCASE[tidx][i++])); in TestLocaleBuilder()
201 bld.setLocale(loc); in TestSetLocale()
/external/apache-http/src/org/apache/http/
DHttpResponse.java165 void setLocale(Locale loc); in setLocale() method
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowConfiguration.java27 public void setLocale( Locale l ) { in setLocale() method in ShadowConfiguration
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/languages/
DTest_ja.java37 setLocale("ja"); in Test_ja()
/external/apache-xml/src/main/java/org/apache/xml/res/
DXMLMessages.java52 public void setLocale(Locale locale) in setLocale() method in XMLMessages
/external/icu/icu4c/source/i18n/unicode/
Dcurrpinf.h176 void setLocale(const Locale& loc, UErrorCode& status);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DErrorManager.java390 setLocale(Locale.getDefault()); in Locale.getDefault()
406 public static void setLocale(Locale locale) { in setLocale() method in ErrorManager
419 setLocale(Locale.US); // recurse on this rule, trying the US locale in setLocale()
430 setLocale(Locale.US); // try US to see if that will work in setLocale()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
DICULocaleServiceProvider.java147 locBld.setLocale(uloc); in getLocales()
204 locBld.setLocale(uloc); in addULocale()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/filesystem/
DUnixDirectoryListingFormatter.java72 public void setLocale(Locale locale) { in setLocale() method in UnixDirectoryListingFormatter
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DUnixDirectoryListingFormatter.java73 public void setLocale(Locale locale) { in setLocale() method in UnixDirectoryListingFormatter
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/filesystem/
DUnixDirectoryListingFormatter.java73 public void setLocale(Locale locale) { in setLocale() method in UnixDirectoryListingFormatter
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/filesystem/
DUnixDirectoryListingFormatter.java73 public void setLocale(Locale locale) { in setLocale() method in UnixDirectoryListingFormatter

12345