- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 819 for Locale (0.06 seconds)
-
src/main/java/org/codelibs/core/text/DecimalFormatSymbolsUtil.java
* Returns {@link DecimalFormatSymbols}. * * @param locale * The locale. Must not be {@literal null}. * @return {@link DecimalFormatSymbols} */ public static DecimalFormatSymbols getDecimalFormatSymbols(final Locale locale) { assertArgumentNotNull("locale", locale); DecimalFormatSymbols symbols = CACHE.get(locale); if (symbols == null) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.8K bytes - Click Count (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(); } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 20.3K bytes - Click Count (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(); } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 20.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/LabelType.java
asDocMeta().version(version); } public Locale getLocale() { if (locale == null) { if (getValue() == null) { return Locale.ROOT; } locale = ComponentUtil.getFessConfig().getQueryLocaleFromName(getValue()); } return locale; } @Override public String toString() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 1.9K bytes - Click Count (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(); } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 19.6K bytes - Click Count (0) -
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()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.1K bytes - Click Count (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(); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.3K bytes - Click Count (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) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/misc/LocaleUtil.java
case 1: return new Locale(parts[0]); case 2: return new Locale(parts[0], parts[1]); case 3: return new Locale(parts[0], parts[1], parts[2]); default: return LocaleUtil.getDefault(); } } private static Supplier<Locale> defaultLocaleSupplier; /** * Returns the default locale. * * @return the default localeCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 2.3K bytes - Click Count (0)