Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 130 for localeID (0.18 sec)

  1. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            assertFalse(labelTypeHelper.matchLocale(Locale.ENGLISH, Locale.JAPANESE));
            assertFalse(labelTypeHelper.matchLocale(Locale.SIMPLIFIED_CHINESE, Locale.TRADITIONAL_CHINESE));
    
            assertTrue(labelTypeHelper.matchLocale(null, Locale.ROOT));
            assertTrue(labelTypeHelper.matchLocale(Locale.ENGLISH, Locale.ROOT));
            assertTrue(labelTypeHelper.matchLocale(Locale.ROOT, Locale.ROOT));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

            /** ロケール */
            protected final Locale locale;
    
            /** 現在のスタイルを示すインデックス */
            protected int index;
    
            /**
             * インスタンスを構築します。
             *
             * @param locale
             *            ロケール
             */
            public DateFormatIterator(final Locale locale) {
                this.locale = locale;
            }
    
            @Override
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/LocaleUtil.java

            Locale locale = LocaleUtil.getDefault();
            if (localeStr != null) {
                final int index = localeStr.indexOf('_');
                if (index < 0) {
                    locale = new Locale(localeStr);
                } else {
                    final String language = localeStr.substring(0, index);
                    final String country = localeStr.substring(index + 1);
                    locale = new Locale(language, country);
                }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

            /** ロケール */
            protected final Locale locale;
    
            /** 現在のスタイルを示すインデックス */
            protected int index;
    
            /**
             * インスタンスを構築します。
             *
             * @param locale
             *            ロケール
             */
            public DateFormatIterator(final Locale locale) {
                this.locale = locale;
            }
    
            @Override
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

         * ならデフォルトのロケールを返します。
         *
         * @param locale
         *            ロケール
         * @return {@literal locale}が{@literal null}でなければ{@literal locale}を、
         *         {@literal null}ならデフォルトのロケールを返します。
         */
        protected static Locale getLocale(final Locale locale) {
            if (locale != null) {
                return locale;
            }
            return LocaleUtil.getDefault();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

            }
            dataStoreMap.put(name.toLowerCase(Locale.ROOT), dataStore);
            dataStoreMap.put(dataStore.getClass().getSimpleName().toLowerCase(Locale.ROOT), dataStore);
        }
    
        public DataStore getDataStore(final String name) {
            if (name == null) {
                return null;
            }
            return dataStoreMap.get(name.toLowerCase(Locale.ROOT));
        }
    
        public String[] getDataStoreNames() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt

        }
      }
    
      private fun <T> withLocale(
        locale: Locale,
        block: () -> T,
      ): T {
        val previous = Locale.getDefault()
        try {
          Locale.setDefault(locale)
          return block()
        } finally {
          Locale.setDefault(previous)
        }
      }
    
      @Test fun testIllegalCharsetName() {
        val mediaType = parse("text/plain; charset=\"!@#$%^&*()\"")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/text/DecimalFormatSymbolsUtil.java

        /**
         * {@link DecimalFormatSymbols}を返します。
         *
         * @param locale
         *            ロケール。{@literal null}であってはいけません
         * @return {@link DecimalFormatSymbols}
         */
        public static DecimalFormatSymbols getDecimalFormatSymbols(final Locale locale) {
            assertArgumentNotNull("locale", locale);
    
            DecimalFormatSymbols symbols = CACHE.get(locale);
            if (symbols == null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/text/DecimalFormatUtil.java

         *
         * @param s
         *            数値を表す文字列
         * @param locale
         *            ロケール。{@literal null}であってはいけません
         * @return 正規化された文字列
         */
        public static String normalize(final String s, final Locale locale) {
            assertArgumentNotNull("locale", locale);
    
            if (s == null) {
                return null;
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exentity/LabelType.java

            asDocMeta().version(version);
        }
    
        public Locale getLocale() {
            if (locale == null) {
                if (getValue() == null) {
                    return Locale.ROOT;
                }
                locale = ComponentUtil.getFessConfig().getQueryLocaleFromName(getValue());
            }
            return locale;
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top