Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for TimeZone (0.05 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

                TimeZone.setDefault(newTimeZone);
    
                // Create new provider instance to pick up the new default
                FessUserTimeZoneProcessProvider newProvider = new FessUserTimeZoneProcessProvider();
    
                // Execute
                TimeZone result = newProvider.getRequestedTimeZone(requestManager);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

        public void test_createFinalTimeZoneProvider_withDifferentDefaultTimeZone() {
            // Given
            TimeZone testTimeZone = TimeZone.getTimeZone("America/New_York");
            TimeZone originalDefault = TimeZone.getDefault();
    
            try {
                // Change default timezone temporarily
                TimeZone.setDefault(testTimeZone);
    
                // When
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbTreeHandle.java

         * @return the tree is connected
         */
        boolean isConnected();
    
        /**
         * Gets the server timezone offset in milliseconds
         * @return server timezone offset
         * @throws CIFSException if an error occurs retrieving the timezone offset
         */
        long getServerTimeZoneOffset() throws CIFSException;
    
        /**
         * Gets the OEM domain name reported by the server
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            assertNotNull(yearProvider);
        }
    
        // Test timezone information
        public void test_timezoneInformation() {
            TimeZone defaultTz = TimeZone.getDefault();
            assertNotNull(defaultTz);
            assertNotNull(defaultTz.getID());
            assertTrue(defaultTz.getID().length() > 0);
    
            // Central timezone should match default
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/DelegatingConfigurationTest.java

        }
    
        @Test
        @DisplayName("TimeZone configuration should delegate correctly")
        void testTimeZoneConfigurationDelegation() {
            // Given
            TimeZone timeZone = TimeZone.getTimeZone("UTC");
            when(mockDelegate.getLocalTimezone()).thenReturn(timeZone);
    
            // When
            TimeZone resultTimeZone = delegatingConfig.getLocalTimezone();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
        }
    
        @Test
        void testConstructor() {
            // Test constructor with positive timezone offset
            long serverTimeZoneOffset = 3600000L; // 1 hour in milliseconds
            response = new SmbComQueryInformationResponse(mockConfig, serverTimeZoneOffset);
    
            assertNotNull(response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            // UTime is seconds since epoch, so divide by 1000
            long unixTime = time / 1000L;
    
            // Mocking date for timezone consistency
            TimeZone original = TimeZone.getDefault();
            try {
                TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
                ServerMessageBlock.writeUTime(unixTime * 1000L, buffer, 0);
                long readTime = ServerMessageBlock.readUTime(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** SMB header length */
        int HEADER_LENGTH = 32;
    
        /** Milliseconds between 1970 and 1601 */
        long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L;
        /** Default timezone */
        TimeZone TZ = TimeZone.getDefault();
    
        /** Whether to use batching */
        boolean USE_BATCHING = Config.getBoolean("jcifs.smb1.smb.client.useBatching", true);
        /** OEM encoding */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

            /**
             * The current hundredth of a second (0-99).
             */
            public int hunds;
            /**
             * The time zone offset from UTC in minutes.
             */
            public int timezone;
            /**
             * The time interval for each tick of the clock in 0.0001 seconds.
             */
            public int tinterval;
            /**
             * The current day of the month (1-31).
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    import okhttp3.Response
    import okhttp3.internal.http2.Header
    import okio.Buffer
    import okio.BufferedSource
    import okio.Source
    
    /** GMT and UTC are equivalent for our purposes. */
    @JvmField
    internal val UTC: TimeZone = TimeZone.getTimeZone("GMT")!!
    
    internal fun threadFactory(
      name: String,
      daemon: Boolean,
    ): ThreadFactory =
      ThreadFactory { runnable ->
        Thread(runnable, name).apply {
          isDaemon = daemon
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
Back to top