- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 294 for locale (0.03 sec)
-
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) -
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) -
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) -
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) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java
// Test with various locale configurations Locale[] testLocales = { Locale.US, Locale.UK, Locale.CANADA, Locale.FRANCE, Locale.CHINA, Locale.KOREA, new Locale("es", "ES"), new Locale("pt", "BR") }; for (Locale locale : testLocales) { OptionalThing<String> result = provider.determineAlias(locale);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
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) -
src/main/java/org/codelibs/core/io/ResourceBundleUtil.java
* * @param locale the locale * @return the {@literal locale} if not {@literal null}, otherwise the default locale */ protected static Locale getLocale(final Locale locale) { if (locale != null) { return locale; } return LocaleUtil.getDefault(); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
* * @param locale * Locale * @return Separator for decimal numbers */ public static String findDecimalSeparator(final Locale locale) { final DecimalFormatSymbols symbol = getDecimalFormatSymbols(locale); return Character.toString(symbol.getDecimalSeparator()); } private static DecimalFormatSymbols getDecimalFormatSymbols(final Locale locale) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 36.6K bytes - Viewed (0)