Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for timezone (0.04 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

                return writer.writeUtf8(string)
              }
            },
        )
    
      internal fun parseUtcTime(string: String): Long {
        val utc = TimeZone.getTimeZone("GMT")
        val dateFormat =
          SimpleDateFormat("yyMMddHHmmss'Z'").apply {
            timeZone = utc
            set2DigitYearStart(Date(-631152000000L)) // 1950-01-01T00:00:00Z.
          }
    
        try {
          val parsed = dateFormat.parse(string)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

    import static org.junit.Assert.assertThat;
    
    import java.sql.Timestamp;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.Locale;
    import java.util.TimeZone;
    
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class TimestampConversionUtilTest {
    
        @Before
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. api/maven-api-metadata/src/main/mdo/metadata.mdo

        }
    
        public void setLastUpdatedTimestamp( java.util.Date date )
        {
            java.util.TimeZone timezone = java.util.TimeZone.getTimeZone( "UTC" );
            java.text.DateFormat fmt = new java.text.SimpleDateFormat( "yyyyMMddHHmmss" );
            fmt.setTimeZone( timezone );
            setLastUpdated( fmt.format( date ) );
        }
              ]]></code>
            </codeSegment>
          </codeSegments>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. src/archive/zip/struct.go

    	//
    	// When reading, an extended timestamp is preferred over the legacy MS-DOS
    	// date field, and the offset between the times is used as the timezone.
    	// If only the MS-DOS date is present, the timezone is assumed to be UTC.
    	//
    	// When writing, an extended timestamp (which is timezone-agnostic) is
    	// always emitted. The legacy MS-DOS date field is encoded according to the
    	// location of the Modified time.
    	Modified time.Time
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. 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)
Back to top