Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 162 for locale (0.18 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java

        //                                                                       =============
        protected String resolveLabelIfNeeds(final MessageManager messageManager, final Locale locale, final String label) {
            return label.startsWith("labels.") ? messageManager.getMessage(locale, label) : label;
        }
    
        // ===================================================================================
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

            final String delim = NumberConversionUtil.findDecimalSeparator(Locale.JAPAN);
            assertEquals(".", delim);
        }
    
        /**
         * @throws Exception
         */
        public void testFindFractionDelimeter2() throws Exception {
            final String delim = NumberConversionUtil.findDecimalSeparator(Locale.FRANCE);
            assertEquals(",", delim);
        }
    
        /**
         * @throws Exception
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. 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 Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  5. 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)
  6. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

     	    {
     	      cp += 2 * nhere;
     	      continue;
    diff --git a/locale/xlocale.h b/locale/xlocale.h
    index 98c080b..843bd45 100644
    --- a/locale/xlocale.h
    +++ b/locale/xlocale.h
    @@ -20,6 +20,9 @@
     #ifndef _XLOCALE_H
     #define _XLOCALE_H	1
     
    +#ifndef _BITS_TYPES___LOCALE_T_H
    +#define _BITS_TYPES___LOCALE_T_H 1
    +
     /* Structure for reentrant locale using functions.  This is an
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

    import java.sql.SQLException;
    import java.util.Locale;
    
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author manhole
     */
    public class SQLRuntimeExceptionTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomPointerFactory.java

     *
     */
    public class Xpp3DomPointerFactory implements NodePointerFactory {
    
        public int getOrder() {
            return 200;
        }
    
        public NodePointer createNodePointer(QName name, Object object, Locale locale) {
            if (object instanceof org.codehaus.plexus.util.xml.Xpp3Dom) {
                object = ((org.codehaus.plexus.util.xml.Xpp3Dom) object).getDom();
            }
            if (object instanceof XmlNode) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProvider.java

                    return requestManager.getParameter(name).filter(StringUtil::isNotBlank).map(LocaleUtils::toLocale);
                } catch (final Exception e) {
                    logger.debug("Failed to parse a value of {}.", name, e);
                }
            }
            return OptionalObject.empty();
        }
    
        @Override
        public OptionalThing<Locale> getRequestedLocale(final RequestManager requestManager) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java

            }
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded {}", name);
            }
            scriptEngineMap.put(name.toLowerCase(Locale.ROOT), scriptEngine);
            scriptEngineMap.put(scriptEngine.getClass().getSimpleName().toLowerCase(Locale.ROOT), scriptEngine);
        }
    
        public ScriptEngine getScriptEngine(final String name) {
            if (name == null) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top