- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 184 for ULocale (0.13 sec)
-
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/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/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/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
} }; assertEquals(Locale.ROOT, fessConfig.getQueryLocaleFromName(null)); assertEquals(Locale.ROOT, fessConfig.getQueryLocaleFromName("")); assertEquals(Locale.ROOT, fessConfig.getQueryLocaleFromName("ja")); assertEquals(Locale.JAPANESE, fessConfig.getQueryLocaleFromName("test_ja")); assertEquals(Locale.CHINESE, fessConfig.getQueryLocaleFromName("test_zh"));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.7K 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/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/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/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProvider.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.mylasta.direction.sponsor; import java.util.Locale; import org.apache.commons.lang3.LocaleUtils; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.StringUtil;
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)