Searched refs:Locale (Results 176 - 200 of 629) sorted by relevance

1234567891011>>

/openjdk7/langtools/test/tools/javac/Diagnostics/7010608/
H A DTest.java42 Locale prev = Locale.getDefault();
43 Locale.setDefault(Locale.ENGLISH);
52 Locale.setDefault(prev);
/openjdk7/langtools/test/tools/javah/
H A DT6994608.java39 Locale prev = Locale.getDefault();
40 Locale.setDefault(Locale.ENGLISH);
48 Locale.setDefault(prev);
/openjdk7/langtools/test/tools/javah/T7126832/
H A DT7126832.java41 Locale prev = Locale.getDefault();
42 Locale.setDefault(Locale.ENGLISH);
56 Locale.setDefault(prev);
/openjdk7/jdk/test/java/util/PluggableLocale/
H A DTimeZoneNameProviderTest.java47 Locale[] available = Locale.getAvailableLocales();
48 List<Locale> providerLocales = Arrays.asList(tznp.getAvailableLocales());
51 for (Locale target: available) {
92 final Locale OSAKA = new Locale("ja", "JP", "osaka");
93 final Locale KYOTO = new Locale("ja", "JP", "kyoto");
115 Locale defaultLocale = Locale
[all...]
H A DLocaleNameProviderTest.java40 Locale[] availloc = Locale.getAvailableLocales();
41 Locale[] testloc = availloc.clone();
42 List<Locale> providerloc = Arrays.asList(lnp.getAvailableLocales());
44 for (Locale target: availloc) {
49 for (Locale test: testloc) {
H A DDateFormatSymbolsProviderTest.java35 List<Locale> availloc = Arrays.asList(DateFormatSymbols.getAvailableLocales());
36 List<Locale> providerloc = Arrays.asList(dfsp.getAvailableLocales());
37 List<Locale> jreloc = Arrays.asList(LocaleData.getAvailableLocales());
49 Set<Locale> localesFromAPI = new HashSet<Locale>(availloc);
50 Set<Locale> localesExpected = new HashSet<Locale>(jreloc);
61 for (Locale target: availloc) {
/openjdk7/jdk/src/share/classes/java/text/
H A DDateFormat.java47 import java.util.Locale;
73 * <p>To format a date for the current Locale, use one of the
88 * <p>To format a date for a different Locale, specify it in the
89 * call to {@link #getDateInstance(int, Locale) getDateInstance()}.
91 * DateFormat df = DateFormat.getDateInstance(DateFormat.LONG, Locale.FRANCE);
151 * appropriate for the {@link Locale} associated with this
446 return get(DEFAULT, 0, 1, Locale.getDefault(Locale.Category.FORMAT));
458 return get(style, 0, 1, Locale.getDefault(Locale
[all...]
H A DDecimalFormatSymbols.java46 import java.util.Locale;
61 * @see java.util.Locale
76 * {@link #getInstance(Locale) getInstance} method.
79 initialize( Locale.getDefault(Locale.Category.FORMAT) );
89 * {@link #getInstance(Locale) getInstance} method.
93 public DecimalFormatSymbols( Locale locale ) {
104 * implementations. It must contain at least a <code>Locale</code>
105 * instance equal to {@link java.util.Locale#US Locale
[all...]
/openjdk7/jaxws/src/share/jaf_classes/javax/activation/
H A DMimeType.java29 import java.util.Locale;
78 primaryType = primary.toLowerCase(Locale.ENGLISH);
85 subType = sub.toLowerCase(Locale.ENGLISH);
110 toLowerCase(Locale.ENGLISH);
112 toLowerCase(Locale.ENGLISH);
117 toLowerCase(Locale.ENGLISH);
119 toLowerCase(Locale.ENGLISH);
158 primaryType = primary.toLowerCase(Locale.ENGLISH);
181 subType = sub.toLowerCase(Locale.ENGLISH);
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DDocLocale.java28 import java.util.Locale;
51 final Locale locale;
54 * The collator for this application. This is to take care of Locale
97 Locale.setDefault(locale);
108 private Locale getLocale() {
109 Locale userlocale = null;
148 return Locale.getDefault();
156 private Locale searchLocale(String language, String country,
158 Locale[] locales = Locale
[all...]
/openjdk7/jdk/test/java/util/ResourceBundle/
H A DResourceBundleTest.java78 Locale saveDefault = Locale.getDefault();
79 Locale.setDefault(new Locale("fr", "FR"));
130 Locale.setDefault(saveDefault);
137 new Locale("be", "BY"));
152 new Locale("it", "IT"));
210 new Locale("es", "ES"));
256 new Locale("fr", "CH", ""));
257 Locale local
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/im/
H A DInputMethodManager.java50 import java.util.Locale;
219 abstract InputMethodLocator findInputMethod(Locale forLocale);
224 abstract Locale getDefaultKeyboardLocale();
550 Locale locale = new Locale(language, country, variant);
567 InputMethodLocator findInputMethod(Locale locale) {
590 Locale getDefaultKeyboardLocale() {
595 return Locale.getDefault();
603 * @param locale Locale for which the user prefers the input method.
605 private synchronized InputMethodLocator getPreferredInputMethod(Locale local
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DForwardingDiagnosticFormatter.java28 import java.util.Locale;
80 public String format(D diag, Locale l) {
84 public String formatKind(D diag, Locale l) {
88 public String formatMessage(D diag, Locale l) {
92 public String formatPosition(D diag, PositionKind pk, Locale l) {
96 public String formatSource(D diag, boolean fullname, Locale l) {
/openjdk7/jdk/src/share/classes/java/util/
H A DResourceBundle.java111 * {@link #getBundle(java.lang.String, java.util.Locale) getBundle}
194 * {@link #getBundle(String, Locale, ClassLoader, Control) getBundle}
205 * descriptions of the {@linkplain #getBundle(String, Locale, ClassLoader,
208 * Control#getTimeToLive(String, Locale)
210 * Control#needsReload(String, Locale, String, ClassLoader, ResourceBundle,
311 private Locale locale = null;
411 public Locale getLocale() {
490 private Locale locale;
514 CacheKey(String baseName, Locale locale, ClassLoader loader) {
537 Locale getLocal
[all...]
/openjdk7/jdk/src/share/classes/sun/util/
H A DTimeZoneNameUtility.java32 import java.util.Locale;
48 * cache to hold time zone resource bundles. Keyed by Locale
50 private static ConcurrentHashMap<Locale, SoftReference<OpenListResourceBundle>> cachedBundles =
51 new ConcurrentHashMap<Locale, SoftReference<OpenListResourceBundle>>();
54 * cache to hold time zone localized strings. Keyed by Locale
56 private static ConcurrentHashMap<Locale, SoftReference<String[][]>> cachedZoneData =
57 new ConcurrentHashMap<Locale, SoftReference<String[][]>>();
62 public static final String[][] getZoneStrings(Locale locale) {
75 private static final String[][] loadZoneStrings(Locale locale) {
97 public static final String[] retrieveDisplayNames(String id, Locale local
[all...]
/openjdk7/jdk/src/share/classes/com/sun/rowset/
H A DJdbcRowSetResourceBundle.java102 Locale locale = Locale.getDefault();
/openjdk7/jdk/src/share/classes/com/sun/imageio/spi/
H A DFileImageOutputStreamSpi.java29 import java.util.Locale;
46 public String getDescription(Locale locale) {
H A DInputStreamImageInputStreamSpi.java31 import java.util.Locale;
49 public String getDescription(Locale locale) {
H A DOutputStreamImageOutputStreamSpi.java31 import java.util.Locale;
49 public String getDescription(Locale locale) {
H A DRAFImageInputStreamSpi.java30 import java.util.Locale;
47 public String getDescription(Locale locale) {
H A DRAFImageOutputStreamSpi.java30 import java.util.Locale;
47 public String getDescription(Locale locale) {
/openjdk7/jdk/test/java/awt/font/FontNames/
H A DLocaleFamilyNames.java41 Locale[] all_locales = Locale.getAvailableLocales();
/openjdk7/jdk/test/java/util/Currency/
H A DBug4512215.java30 import java.util.Locale;
52 Currency currency = Currency.getInstance(new Locale("", country));
/openjdk7/jdk/test/javax/swing/MultiUIDefaults/4331767/
H A Dbug4331767.java33 import java.util.Locale;
69 public Object get(Object key, Locale l) {
71 System.err.println("[II] Called BrokenUIDefaults.get(Object, Locale)");
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/utils/
H A DMessages.java27 import java.util.Locale;
100 private final Locale m_locale = Locale.getDefault();
129 * Get the Locale object that is being used.
131 * @return non-null reference to Locale object.
134 private Locale getLocale()

Completed in 136 milliseconds

1234567891011>>