Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for ULocale (0.1 sec)

  1. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                        @Override
                        public List<Map<String, String>> load(final String key) throws Exception {
                            final ULocale uLocale = new ULocale(key);
                            final Locale displayLocale = uLocale.toLocale();
                            final List<Map<String, String>> langItems = new ArrayList<>(supportedLanguages.length);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K 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
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/DfsTest.java

            assertEquals(getTestDfsTargetServer().toLowerCase(Locale.ROOT), ref.getServer().toLowerCase(Locale.ROOT));
            assertEquals(dfsTestSharePath.length() - 1, ref.getPathConsumed());
    
            DfsReferralData ref2 = doResolve(dfsTestSharePath, "", true, true);
    
            assertNotNull(ref2);
            assertEquals(getTestDfsTargetServer().toLowerCase(Locale.ROOT), ref2.getServer().toLowerCase(Locale.ROOT));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.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 TimestampConversionUtilTest {
    
        @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
    - 11.4K bytes
    - Viewed (0)
  5. 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)
  6. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

        }
    
        @Test
        void testLocaleIndependent() {
            Locale orig = Locale.getDefault();
            Locale[] locales = {Locale.ENGLISH, new Locale("tr"), Locale.getDefault()};
            try {
                for (Locale locale : locales) {
                    Locale.setDefault(locale);
                    checkVersionsEqual("1-abcdefghijklmnopqrstuvwxyz", "1-ABCDEFGHIJKLMNOPQRSTUVWXYZ");
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            df.applyPattern(pattern);
            return df.format(value);
        }
    
        private static Locale getUserLocale() {
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            if (locale == null) {
                return Locale.ROOT;
            }
            return locale;
        }
    
        public static String formatFileSize(final long value) {
            double target = value;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. 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)
  9. tests/multi_primary_keys_test.go

    	}
    
    	blog := Blog{
    		Locale:  "ZH",
    		Subject: "subject",
    		Body:    "body",
    		LocaleTags: []Tag{
    			{Locale: "ZH", Value: "tag1"},
    			{Locale: "ZH", Value: "tag2"},
    		},
    	}
    	DB.Save(&blog)
    
    	blog2 := Blog{
    		ID:     blog.ID,
    		Locale: "EN",
    	}
    	DB.Create(&blog2)
    
    	// Append
    	tag3 := &Tag{Locale: "ZH", Value: "tag3"}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

            Locale orig = Locale.getDefault();
            try {
                Locale[] locales = {Locale.ENGLISH, new Locale("tr")};
                for (Locale locale : locales) {
                    Locale.setDefault(locale);
                    assertOrder(X_EQ_Y, "1-abcdefghijklmnopqrstuvwxyz", "1-ABCDEFGHIJKLMNOPQRSTUVWXYZ");
                }
            } finally {
                Locale.setDefault(orig);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top