- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 174 for _locale_ (0.04 sec)
-
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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K 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: Sat Dec 20 08:55:33 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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 20.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt
} } private fun <T> withLocale( locale: Locale, block: () -> T, ): T { val previous = Locale.getDefault() try { Locale.setDefault(locale) return block() } finally { Locale.setDefault(previous) } } @Test fun testIllegalCharsetName() { val mediaType = parse("text/plain; charset=\"!@#$%^&*()\"")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/LocaleUtil.java
* @return {@link Locale} */ public static Locale getLocale(final String localeStr) { // TODO replace with Fess Locale locale = LocaleUtil.getDefault(); if (localeStr != null) { final int index = localeStr.indexOf('_'); if (index < 0) { locale = new Locale(localeStr); } else { final String language = localeStr.substring(0, index);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/webapp/js/admin/admin.js
window.navigator.userLanguage || window.navigator.language || window.navigator.browserLanguage ).substr(0, 2); moment.locale(lang); $("input.form-control.date") .daterangepicker({ autoUpdateInput: false, timePicker: false, singleDatePicker: true, locale: { format: "YYYY-MM-DD" } }) .on("apply.daterangepicker", function(ev, picker) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Aug 06 20:44:47 UTC 2018 - 3.1K bytes - Viewed (0) -
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) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2K bytes - Viewed (0) -
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); } @AfterRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.4K bytes - Viewed (0) -
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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 25.4K bytes - Viewed (1) -
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() {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 1.9K bytes - Viewed (0)