Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 717 for localIP (0.21 sec)

  1. src/test/java/org/codelibs/core/text/DecimalFormatUtilTest.java

     */
    package org.codelibs.core.text;
    
    import java.util.Locale;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class DecimalFormatUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testNormalize() throws Exception {
            assertEquals("1", "1000.00", DecimalFormatUtil.normalize("1,000.00", Locale.JAPAN));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

                    request.getLocale() == null ? Locale.ROOT : request.getLocale());
            runtime.registerData("labelTypeItems", labelTypeItems);
            runtime.registerData("displayLabelTypeItems", labelTypeItems != null && !labelTypeItems.isEmpty());
    
            Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            if (locale == null) {
                locale = Locale.ENGLISH;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

    import static org.junit.Assert.assertThat;
    
    import java.util.Locale;
    
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class NullArgumentExceptionTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                return null;
            }
            String target = null;
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            if (locale != null) {
                final String lang = locale.getLanguage();
                if (ComponentUtil.getFessConfig().isOnlineHelpSupportedLang(lang)) {
                    target = lang.toUpperCase(Locale.ROOT);
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. internal/grid/connection_test.go

    	}
    	errFatal(remote.RegisterSingleHandler(handlerTest, h1))
    	errFatal(remote.RegisterStreamingHandler(handlerTest2, h2))
    	errFatal(local.RegisterSingleHandler(handlerTest, h1))
    	errFatal(local.RegisterStreamingHandler(handlerTest2, h2))
    
    	// local to remote
    	remoteConn := local.Connection(remoteHost)
    	errFatal(remoteConn.WaitForConnect(context.Background()))
    	const testPayload = "Hello Grid World!"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:44:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

            public void setVirtualHost(final String virtualHost) {
                this.virtualHost = virtualHost;
            }
    
            public Locale getLocale() {
                return locale;
            }
    
            public void setLocale(final Locale locale) {
                this.locale = locale;
            }
        }
    
        public static class LabelTypePattern {
    
            private final String value;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. 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
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. 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
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        public void test_getForumLink() {
            getMockRequest().setLocale(Locale.ENGLISH);
            assertEquals("https://discuss.codelibs.org/c/FessEN/", systemHelper.getForumLink());
            getMockRequest().setLocale(Locale.JAPANESE);
            assertEquals("https://discuss.codelibs.org/c/FessJA/", systemHelper.getForumLink());
            getMockRequest().setLocale(Locale.ITALIAN);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

    class RemoteSnapshotMetadataTest {
        private Locale defaultLocale;
    
        private static final Pattern DATE_FILTER = Pattern.compile("\\..*");
    
        @BeforeEach
        void setLocaleToUseBuddhistCalendar() {
            defaultLocale = Locale.getDefault();
            Locale.setDefault(new Locale("th", "TH"));
        }
    
        @AfterEach
        void restoreLocale() {
            Locale.setDefault(defaultLocale);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top