- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 371 for locales (0.17 sec)
-
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;
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
/** ロケール */ protected final Locale locale; /** 現在のスタイルを示すインデックス */ protected int index; /** * インスタンスを構築します。 * * @param locale * ロケール */ public DateFormatIterator(final Locale locale) { this.locale = locale; } @Override
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.2K 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();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
/** ロケール */ protected final Locale locale; /** 現在のスタイルを示すインデックス */ protected int index; /** * インスタンスを構築します。 * * @param locale * ロケール */ public DateFormatIterator(final Locale locale) { this.locale = locale; } @Override
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 22.1K 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
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2K 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=\"!@#$%^&*()\"")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3K 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); } @After
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.4K 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; }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/text/DecimalFormatUtilTest.java
*/ package org.codelibs.core.text; import java.util.Locale; import junit.framework.TestCase; /** * @author higa * */ public class DecimalFormatUtilTest extends TestCase { /** * @throws Exception */ public void testNormalize() throws Exception { assertEquals("1", "1000.00", DecimalFormatUtil.normalize("1,000.00", Locale.JAPAN));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java
public void setVirtualHost(final String virtualHost) { this.virtualHost = virtualHost; } public Locale getLocale() { return locale; } public void setLocale(final Locale locale) { this.locale = locale; } } public static class LabelTypePattern { private final String value;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 11.7K bytes - Viewed (2)