Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getTimeZone (0.06 sec)

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

            // Store original time zone
            TimeZone originalTimeZone = TimeZone.getDefault();
    
            try {
                // Change default time zone temporarily
                TimeZone newTimeZone = TimeZone.getTimeZone("America/New_York");
                TimeZone.setDefault(newTimeZone);
    
                // Create new provider instance to pick up the new default
    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);
    
    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/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            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);
                assertEquals(unixTime * 1000L, readTime);
            } finally {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. 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)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    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)
  6. 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
        // ============================================================
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            }
            if (obj instanceof String) {
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
                sdf.setTimeZone(TimeZone.getTimeZone("GMT"));
                try {
                    return sdf.parse(obj.toString());
                } catch (final ParseException e) {
                    if (logger.isDebugEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        val servedDate = Date(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(-2))
        val dateFormat: DateFormat = SimpleDateFormat("EEE dd-MMM-yyyy HH:mm:ss z", Locale.US)
        dateFormat.timeZone = TimeZone.getTimeZone("America/New_York")
        val lastModifiedString = dateFormat.format(lastModifiedDate)
        val servedString = dateFormat.format(servedDate)
    
        // This response should be conditionally cached.
        server.enqueue(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            final Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("UTC"));
            cal.set(2027, 3 - 1, 1); // EOL Date
            eolTime = cal.getTimeInMillis();
            if (isEoled()) {
                logger.error("Your system is out of support. See https://fess.codelibs.org/eol.html");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top