Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 153 for _locale_ (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/core/misc/LocaleUtilTest.java

    package org.codelibs.core.misc;
    
    import java.util.Locale;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class LocaleUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testGetLocale() throws Exception {
            assertEquals("1", LocaleUtil.getDefault(), LocaleUtil.getLocale(null));
            assertEquals("2", Locale.JAPANESE, LocaleUtil.getLocale("ja"));
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

    import java.util.Calendar;
    import java.util.Date;
    import java.util.Locale;
    
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class DateConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

            }
    
            private DecimalFormat smallFormat;
            private DecimalFormat largeFormat;
    
            FileSizeFormat(Locale locale) {
                smallFormat = new DecimalFormat("#0.0", new DecimalFormatSymbols(locale));
                largeFormat = new DecimalFormat("###0", new DecimalFormatSymbols(locale));
            }
    
            public String format(long size) {
                return format(size, null);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomPointerFactory.java

        @Override
        public int getOrder() {
            return 200;
        }
    
        @Override
        public NodePointer createNodePointer(QName name, Object object, Locale locale) {
            if (object instanceof org.codehaus.plexus.util.xml.Xpp3Dom xpp3Dom) {
                object = xpp3Dom.getDom();
            }
            if (object instanceof XmlNode xmlNode) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java

            //} catch (IllegalArgumentException ignored) { // not found
            //    return null; // handled later
            //}
        }
    
        @Override
        public OptionalThing<String> determineAlias(final Locale locale) {
            return OptionalObject.empty();
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

    import java.io.File;
    import java.util.Locale;
    import java.util.stream.Stream;
    
    /**
     * OS support
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class Os {
    
        /**
         * The OS Name.
         */
        public static final String OS_NAME = System.getProperty("os.name").toLowerCase(Locale.ENGLISH);
    
        /**
         * The OA architecture.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

    import java.util.Date;
    import java.util.Locale;
    import java.util.TimeZone;
    
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class TimeConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/text/DecimalFormatSymbolsUtilTest.java

    import java.util.Locale;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class DecimalFormatSymbolsUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testGetDecimalFormatSymbols() throws Exception {
            final DecimalFormatSymbols symbols = DecimalFormatSymbolsUtil.getDecimalFormatSymbols(Locale.GERMAN);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/Platform.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Locale;
    
    /**
     * This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
    
      /** Format the template with args, only supports the placeholder {@code %s}. */
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

            final List<Map<String, String>> itemList = new ArrayList<>();
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_basic"), Constants.BASIC));
            itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_digest"), Constants.DIGEST));
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
Back to Top