- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 212 for locale (0.17 sec)
-
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 Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.1K 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) {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2K 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 Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.2K 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() {
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
df.applyPattern(pattern); return df.format(value); } private static Locale getUserLocale() { final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); if (locale == null) { return Locale.ROOT; } return locale; } public static String formatFileSize(final long value) { double target = value;
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java
// ============= protected String resolveLabelIfNeeds(final MessageManager messageManager, final Locale locale, final String label) { return label.startsWith("labels.") ? messageManager.getMessage(locale, label) : label; } // ===================================================================================
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7K 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
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.1K 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 Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Sat Apr 13 11:43:03 GMT 2024 - 26.5K bytes - Viewed (1) -
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 Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.4K bytes - Viewed (0)