Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 92 for TimeZone (0.07 seconds)

  1. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            when(config.getTransactionBufferSize()).thenReturn(4096);
            when(config.isUseUnicode()).thenReturn(true);
    
            SmbComNegotiateResponse nego = new SmbComNegotiateResponse(ctx);
            // Set server timezone (in minutes) and domain
            nego.getServerData().serverTimeZone = 60; // 60 minutes
            nego.getServerData().oemDomainName = "DOMAIN";
    
            when(transport.getNegotiateResponse()).thenReturn(nego);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  2. tests/test_jsonable_encoder.py

    import warnings
    from collections import deque
    from dataclasses import dataclass
    from datetime import datetime, timezone
    from decimal import Decimal
    from enum import Enum
    from math import isinf, isnan
    from pathlib import PurePath, PurePosixPath, PureWindowsPath
    from typing import TypedDict
    
    import pytest
    from fastapi._compat import Undefined
    from fastapi.encoders import jsonable_encoder
    from fastapi.exceptions import PydanticV1NotSupportedError
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/Constants.java

        /** Configuration path property key. */
        public static final String FESS_CONF_PATH = "fess.conf.path";
    
        /** UTC timezone constant. */
        public static final TimeZone TIMEZONE_UTC = TimeZone.getTimeZone("UTC");
    
        // ============================================================
        // LDAP Configuration Constants
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  4. src/archive/zip/writer.go

    		// do not convert to UTC, because we assume the user intends to encode
    		// the date using the specified timezone. A user may want this control
    		// because many legacy ZIP readers interpret the timestamp according
    		// to the local timezone.
    		//
    		// The timezone is only non-UTC if a user directly sets the Modified
    		// field directly themselves. All other approaches sets UTC.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  5. internal/s3select/sql/timestampfuncs.go

    }
    
    // dateDiff computes the difference between two times in terms of the
    // `timePart` which can be years, months, days, hours, minutes or
    // seconds. For difference in years, months or days, the time part,
    // including timezone is ignored.
    func dateDiff(timePart string, ts1, ts2 time.Time) (*Value, error) {
    	if ts2.Before(ts1) {
    		v, err := dateDiff(timePart, ts2, ts1)
    		if err == nil {
    			v.negate()
    		}
    		return v, err
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/Configuration.java

         *
         * @return OEM encoding to use
         */
        String getOemEncoding();
    
        /**
         * Gets the local timezone for time-related operations
         *
         * @return local timezone
         */
        TimeZone getLocalTimezone();
    
        /**
         * Gets the process ID to use in SMB messages
         *
         * @return Process id to send, randomized if unset
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/config/BaseConfiguration.java

        }
    
        private final Map<String, Integer> batchLimits = new HashMap<>();
    
        /** Local process ID for SMB messages */
        protected int localPid = -1;
        /** Local timezone for time calculations */
        protected TimeZone localTimeZone;
        /** Secure random generator for cryptographic operations */
        protected SecureRandom random;
        /** Whether to use command batching for improved performance */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  8. scripts/people.py

            self.remaining_points: int = 5000
            self.reset_at: datetime = datetime.fromtimestamp(0, timezone.utc)
            self.last_request_start_time: datetime = datetime.fromtimestamp(0, timezone.utc)
            self.speed_multiplier: float = 1.0
    
        def __enter__(self) -> "RateLimiter":
            now = datetime.now(tz=timezone.utc)
    
            # Handle primary rate limits
            primary_limit_wait_time = 0.0
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:51:24 GMT 2026
    - 15K bytes
    - Click Count (0)
  9. 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
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.3K bytes
    - Click Count (1)
  10. build-tools-internal/src/main/resources/forbidden/es-server-signatures.txt

    java.time.OffsetDateTime#withOffsetSameLocal(java.time.ZoneOffset)
    java.time.OffsetDateTime#withSecond(int)
    java.time.OffsetDateTime#withYear(int)
    
    @defaultMessage Daylight saving is not the only reason for a change in timezone offset.
    java.time.zone.ZoneRules#getStandardOffset(java.time.Instant)
    java.time.zone.ZoneRules#getDaylightSavings(java.time.Instant)
    java.time.zone.ZoneRules#isDaylightSavings(java.time.Instant)
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 7.6K bytes
    - Click Count (0)
Back to Top