Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 342 for LOCALE (0.11 sec)

  1. src/cmd/vendor/golang.org/x/text/internal/language/compact/language.go

    // "rg" in the "u" extension.
    func (t Tag) RegionalTag() Tag {
    	rt := Tag{language: t.locale, locale: t.locale}
    	if t.full == nil {
    		return rt
    	}
    	b := language.Builder{}
    	tag := t.Tag()
    	// tag, _ = tag.SetTypeForKey("rg", "")
    	b.SetTag(t.locale.Tag())
    	if v := tag.Variants(); v != "" {
    		for _, v := range strings.Split(v, "-") {
    			b.AddVariant(v)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/BuildEnvironmentIntegrationTest.groovy

        }
    }
    """, "UTF-8")
    
            expect:
            succeeds 'check'
        }
    
        Locale getTurkishLocale() {
            new Locale("tr", "TR")
        }
    
        Locale getNonDefaultLocale() {
            [new Locale('de'), new Locale('en')].find { it != Locale.default }
        }
    
        def executerEncoding(String inputEncoding) {
            if (inputEncoding) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. 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)
  4. 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=\"!@#$%^&*()\"")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/report/LocaleSafeDecimalFormatTest.java

    import org.junit.After;
    import org.junit.Test;
    
    import java.math.BigDecimal;
    import java.util.Locale;
    
    import static org.junit.Assert.assertEquals;
    
    public class LocaleSafeDecimalFormatTest {
    
        Locale defaultLocale = Locale.getDefault();
    
        @After
        public void revertLocalToDefault() {
            Locale.setDefault(defaultLocale);
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

                    request.getLocale() == null ? Locale.ROOT : request.getLocale());
            runtime.registerData("labelTypeItems", labelTypeItems);
            runtime.registerData("displayLabelTypeItems", labelTypeItems != null && !labelTypeItems.isEmpty());
    
            Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            if (locale == null) {
                locale = Locale.ENGLISH;
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. tests/multi_primary_keys_test.go

    	}
    
    	blog := Blog{
    		Locale:  "ZH",
    		Subject: "subject",
    		Body:    "body",
    		LocaleTags: []Tag{
    			{Locale: "ZH", Value: "tag1"},
    			{Locale: "ZH", Value: "tag2"},
    		},
    	}
    	DB.Save(&blog)
    
    	blog2 := Blog{
    		ID:     blog.ID,
    		Locale: "EN",
    	}
    	DB.Create(&blog2)
    
    	// Append
    	tag3 := &Tag{Locale: "ZH", Value: "tag3"}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  9. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

    class RemoteSnapshotMetadataTest {
        private Locale defaultLocale;
    
        private static final Pattern DATE_FILTER = Pattern.compile("\\..*");
    
        @BeforeEach
        void setLocaleToUseBuddhistCalendar() {
            defaultLocale = Locale.getDefault();
            Locale.setDefault(new Locale("th", "TH"));
        }
    
        @AfterEach
        void restoreLocale() {
            Locale.setDefault(defaultLocale);
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 16 11:43:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. 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)
Back to top