Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for lomcane (0.04 sec)

  1. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

         *
         * @param locale
         *            Locale. Must not be {@literal null}.
         * @return the pattern string for {@link DateFormat#MEDIUM} style
         */
        public static String getMediumPattern(final Locale locale) {
            assertArgumentNotNull("locale", locale);
            return ((SimpleDateFormat) getTimeInstance(MEDIUM, locale)).toPattern();
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

         *
         * @param locale
         *            Locale. Must not be {@literal null}.
         * @return the pattern string for {@link DateFormat#MEDIUM} style
         */
        public static String getMediumPattern(final Locale locale) {
            assertArgumentNotNull("locale", locale);
            return ((SimpleDateFormat) getDateTimeInstance(MEDIUM, MEDIUM, locale)).toPattern();
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

         *
         * @param locale the locale (must not be {@literal null})
         * @return the pattern string for {@link DateFormat#MEDIUM} style
         */
        public static String getMediumPattern(final Locale locale) {
            assertArgumentNotNull("locale", locale);
            return ((SimpleDateFormat) getDateInstance(MEDIUM, locale)).toPattern();
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  4. 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));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            // Execute
            OptionalThing<Locale> result = provider.findBusinessLocale(null, mockRequestManager);
    
            // Verify
            assertTrue(result.isPresent());
            Locale locale = result.get();
            assertEquals("no", locale.getLanguage());
            assertEquals("NO", locale.getCountry());
            assertEquals("NY", locale.getVariant());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        /**
         * Retrieves the current user's locale from the request manager.
         *
         * @return the user's locale, or Locale.ROOT if not available
         */
        private static Locale getUserLocale() {
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            if (locale == null) {
                return Locale.ROOT;
            }
            return locale;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

            /**
             * Returns the locale.
             *
             * @return The locale.
             */
            public Locale getLocale() {
                return locale;
            }
    
            /**
             * Sets the locale.
             *
             * @param locale The locale.
             */
            public void setLocale(final Locale locale) {
                this.locale = locale;
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.8K 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  10. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
Back to top