- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 112 for lomcane (0.08 sec)
-
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceBundleUtil.java
* ならデフォルトのロケールを返します。 * * @param locale * ロケール * @return {@literal locale}が{@literal null}でなければ{@literal locale}を、 * {@literal null}ならデフォルトのロケールを返します。 */ protected static Locale getLocale(final Locale locale) { if (locale != null) { return locale; } return LocaleUtil.getDefault();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
* * @param locale * ロケール * @return 数値のセパレータ */ public static String findDecimalSeparator(final Locale locale) { final DecimalFormatSymbols symbol = getDecimalFormatSymbols(locale); return Character.toString(symbol.getDecimalSeparator()); } private static DecimalFormatSymbols getDecimalFormatSymbols(final Locale locale) { DecimalFormatSymbols symbol;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/DecimalFormatSymbolsUtil.java
/** * {@link DecimalFormatSymbols}を返します。 * * @param locale * ロケール。{@literal null}であってはいけません * @return {@link DecimalFormatSymbols} */ public static DecimalFormatSymbols getDecimalFormatSymbols(final Locale locale) { assertArgumentNotNull("locale", locale); DecimalFormatSymbols symbols = CACHE.get(locale); if (symbols == null) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/StringExtensions.kt
*/ package gradlebuild.basics import java.util.Locale fun String.toLowerCase(): String = lowercase(Locale.US) fun String.toUpperCase(): String = uppercase(Locale.US) fun String.capitalize(): String = replaceFirstChar { it.uppercase(Locale.US) } fun String.decapitalize(): String =
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 961 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/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: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.9K bytes - Viewed (0) -
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/LocaleUtil.java
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); final String country = localeStr.substring(index + 1); locale = new Locale(language, country); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/DecimalFormatUtil.java
* * @param s * 数値を表す文字列 * @param locale * ロケール。{@literal null}であってはいけません * @return 正規化された文字列 */ public static String normalize(final String s, final Locale locale) { assertArgumentNotNull("locale", locale); if (s == null) { return null; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java
import static org.junit.Assert.assertThat; import java.util.Locale; import org.codelibs.core.misc.LocaleUtil; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * @author wyukawa * */ public class NullArgumentExceptionTest { @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 - 2K bytes - Viewed (0)