- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 933 for locale (0.07 sec)
-
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
import java.sql.SQLException; import java.util.Locale; import org.codelibs.core.misc.LocaleUtil; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * @author manhole */ public class SQLRuntimeExceptionTest { @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 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
public void test_getForumLink() { getMockRequest().setLocale(Locale.ENGLISH); assertEquals("https://discuss.codelibs.org/c/FessEN/", systemHelper.getForumLink()); getMockRequest().setLocale(Locale.JAPANESE); assertEquals("https://discuss.codelibs.org/c/FessJA/", systemHelper.getForumLink()); getMockRequest().setLocale(Locale.ITALIAN);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K 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));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/LocaleUtilTest.java
package org.codelibs.core.misc; import java.util.Locale; import junit.framework.TestCase; /** * @author higa * */ public class LocaleUtilTest extends TestCase { /** * @throws Exception */ public void testGetLocale() throws Exception { assertEquals("1", LocaleUtil.getDefault(), LocaleUtil.getLocale(null)); assertEquals("2", Locale.JAPANESE, LocaleUtil.getLocale("ja"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
return language.toLowerCase(Locale.ROOT) + "-" + country.toLowerCase(Locale.ROOT); } return language.toLowerCase(Locale.ROOT); } return null; }).toArray(n -> new String[n])); } default Locale getQueryLocaleFromName(final String name) { if (name == null) { return Locale.ROOT; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 87.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java
final List<Map<String, String>> itemList = new ArrayList<>(); final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_basic"), Constants.BASIC)); itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_digest"), Constants.DIGEST));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java
//} catch (IllegalArgumentException ignored) { // not found // return null; // handled later //} } @Override public OptionalThing<String> determineAlias(final Locale locale) { return OptionalObject.empty(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.5K 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: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.4K 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) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
} dataStoreMap.put(name.toLowerCase(Locale.ROOT), dataStore); dataStoreMap.put(dataStore.getClass().getSimpleName().toLowerCase(Locale.ROOT), dataStore); } public DataStore getDataStore(final String name) { if (name == null) { return null; } return dataStoreMap.get(name.toLowerCase(Locale.ROOT)); } public String[] getDataStoreNames() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.1K bytes - Viewed (0)