- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for locale (0.4 sec)
-
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
/** ロケール */ protected final Locale locale; /** 現在のスタイルを示すインデックス */ protected int index; /** * インスタンスを構築します。 * * @param locale * ロケール */ public DateFormatIterator(final Locale locale) { this.locale = locale; } @Override
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.5K 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: Wed Jun 12 12:50:12 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: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
import java.util.Calendar; import java.util.Date; import java.util.Locale; import org.codelibs.core.misc.LocaleUtil; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * @author higa */ public class DateConversionUtilTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.4K 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
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.2K 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
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 22.1K 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: Wed Jun 12 12:50:12 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: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2K 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: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java
final String delim = NumberConversionUtil.findDecimalSeparator(Locale.JAPAN); assertEquals(".", delim); } /** * @throws Exception */ public void testFindFractionDelimeter2() throws Exception { final String delim = NumberConversionUtil.findDecimalSeparator(Locale.FRANCE); assertEquals(",", delim); } /** * @throws Exception
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0)