- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 90 for locale (0.44 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));
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1.7K 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); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.9K 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/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/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) -
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) -
maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomPointerFactory.java
* */ public class Xpp3DomPointerFactory implements NodePointerFactory { public int getOrder() { return 200; } public NodePointer createNodePointer(QName name, Object object, Locale locale) { if (object instanceof org.codehaus.plexus.util.xml.Xpp3Dom) { object = ((org.codehaus.plexus.util.xml.Xpp3Dom) object).getDom(); } if (object instanceof XmlNode) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProvider.java
return requestManager.getParameter(name).filter(StringUtil::isNotBlank).map(LocaleUtils::toLocale); } catch (final Exception e) { logger.debug("Failed to parse a value of {}.", name, e); } } return OptionalObject.empty(); } @Override public OptionalThing<Locale> getRequestedLocale(final RequestManager requestManager) {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/CrawlingInfoParam.java
}); } return crawlingInfo; } public String getKeyMsg() { final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); final String message = ComponentUtil.getMessageManager().getMessage(locale, "labels.crawling_info_" + getKey()); if (message == null || message.startsWith("???")) { return getKey(); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/text/DecimalFormatSymbolsUtilTest.java
import java.util.Locale; import junit.framework.TestCase; /** * @author higa * */ public class DecimalFormatSymbolsUtilTest extends TestCase { /** * @throws Exception */ public void testGetDecimalFormatSymbols() throws Exception { final DecimalFormatSymbols symbols = DecimalFormatSymbolsUtil.getDecimalFormatSymbols(Locale.GERMAN);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.2K bytes - Viewed (0)