Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for getDefault (0.22 sec)

  1. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

                assertFalse(renewed, "renewCredentials should return false when NtlmAuthenticator.getDefault() is null");
                assertEquals(mockCredentials, wrapper.getCredentials(),
                        "Credentials should remain unchanged if NtlmAuthenticator.getDefault() is null");
                mockedNtlmAuthenticator.verify(NtlmAuthenticator::getDefault);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            assertEquals(TimeZone.getDefault(), result);
        }
    
        // Test getRequestedTimeZone() with different default time zone
        public void test_getRequestedTimeZone_withDifferentDefaultTimeZone() {
            // Store original time zone
            TimeZone originalTimeZone = TimeZone.getDefault();
    
            try {
                // Change default time zone temporarily
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

            return toDate(src, null, LocaleUtil.getDefault());
        }
    
        /**
         * Converts an object to {@link Date}.
         *
         * @param src the source object
         * @param pattern the pattern string
         * @return the converted {@link Date}
         */
        public static Date toDate(final Object src, final String pattern) {
            return toDate(src, pattern, LocaleUtil.getDefault());
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

         *
         * @return the pattern string for {@link DateFormat#SHORT} style
         */
        public static String getShortPattern() {
            return getShortPattern(LocaleUtil.getDefault());
        }
    
        /**
         * Returns the pattern string for {@link DateFormat#SHORT} style in the specified locale.
         *
         * @param locale
         *            Locale. Must not be {@literal null}.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

         *
         * @return the pattern string for {@link DateFormat#SHORT} style
         */
        public static String getShortPattern() {
            return getShortPattern(LocaleUtil.getDefault());
        }
    
        /**
         * Returns the pattern string for {@link DateFormat#SHORT} style using the specified locale.
         *
         * @param locale
         *            Locale. Must not be {@literal null}.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/LocaleUtil.java

         */
        public static Locale getDefault() {
            if (defaultLocaleSupplier != null) {
                return defaultLocaleSupplier.get();
            }
            return Locale.ENGLISH;
        }
    
        /**
         * Sets the default locale supplier.
         *
         * @param localeSupplier
         *            the supplier for the default locale
         */
        public static void setDefault(final Supplier<Locale> localeSupplier) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

            // Store original timezone settings
            originalTimeZone = TimeZone.getDefault();
            originalProvider = getDBFluteSystemTimeZoneProvider();
        }
    
        @Override
        public void tearDown() throws Exception {
            // Restore original timezone settings
            TimeZone.setDefault(originalTimeZone);
            if (originalProvider != null) {
                DBFluteSystem.unlock();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

        // required. These socket factories explicitly set the buffer sizes on sockets created.
        server = MockWebServer()
        server.serverSocketFactory =
          object : DelegatingServerSocketFactory(getDefault()) {
            @Throws(SocketException::class)
            override fun configureServerSocket(serverSocket: ServerSocket): ServerSocket {
              serverSocket.setReceiveBufferSize(SOCKET_BUFFER_SIZE)
              return serverSocket
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/text/DecimalFormatSymbolsUtil.java

         * Returns {@link DecimalFormatSymbols}.
         *
         * @return {@link DecimalFormatSymbols}
         */
        public static DecimalFormatSymbols getDecimalFormatSymbols() {
            return getDecimalFormatSymbols(LocaleUtil.getDefault());
        }
    
        /**
         * Returns {@link DecimalFormatSymbols}.
         *
         * @param locale
         *            The locale. Must not be {@literal null}.
         * @return {@link DecimalFormatSymbols}
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProvider.java

    /**
     * The provider of user time-zone process.
     *
     * @author jflute
     */
    public class FessUserTimeZoneProcessProvider implements UserTimeZoneProcessProvider {
    
        public static final TimeZone centralTimeZone = TimeZone.getDefault();
    
        @Override
        public boolean isUseTimeZoneHandling() {
            return false;
        }
    
        @Override
        public boolean isAcceptCookieTimeZone() {
            return false;
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top