Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,049 for date (0.02 seconds)

  1. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

        }
    
        @Test
        public void test_parseDate() {
            Date date;
    
            date = FessFunctions.parseDate("");
            assertNull(date);
    
            date = FessFunctions.parseDate("2004-04-01T12:34:56.123Z");
            assertEquals("2004-04-01T12:34:56.123Z", FessFunctions.formatDate(date));
    
            date = FessFunctions.parseDate("2004-04-01T12:34:56Z");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6K bytes
    - Click Count (0)
  2. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

        }
    
        ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) {
            new ReleasedVersion(version, format.format(new Date(date)))
        }
    
        ReleasedVersion snapshot(String baseVersion, long date = System.currentTimeMillis()) {
            releasedVersion("${baseVersion}-${format.format(new Date(date))}", date)
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/CookieConfig.java

        }
    
        /**
         * Gets the cookie expiry date.
         *
         * @return the expiry date
         */
        public Date getExpiryDate() {
            return expiryDate;
        }
    
        /**
         * Sets the cookie expiry date.
         *
         * @param expiryDate the expiry date
         */
        public void setExpiryDate(final Date expiryDate) {
            this.expiryDate = expiryDate;
        }
    
        /**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

       * either the field is absent or cannot be parsed as a date.
       */
      fun getDate(name: String): Date? = get(name)?.toHttpDateOrNull()
    
      /**
       * Returns the last value corresponding to the specified field parsed as an HTTP date, or null if
       * either the field is absent or cannot be parsed as a date.
       */
      @Suppress("NewApi")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  5. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

        }
    
        ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) {
            new ReleasedVersion(version, format.format(new Date(date)))
        }
    
        ReleasedVersion snapshot(String baseVersion, long date = System.currentTimeMillis()) {
            releasedVersion("${baseVersion}-${format.format(new Date(date))}", date)
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  6. scripts/add_latest_release_date.py

            date_part = match.group(2)
    
            if date_part:
                print(f"Latest release {version} already has a date: {date_part}")
                sys.exit(0)
    
            today = date.today().isoformat()
            lines[i] = f"## {version} ({today})\n"
            print(f"Added date: {version} ({today})")
    
            with open(RELEASE_NOTES_FILE, "w") as f:
                f.writelines(lines)
            sys.exit(0)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:06:36 GMT 2026
    - 1023 bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

            Date original = new Date();
    
            byte[] serialized = serializer.fromObjectToBinary(original);
            assertNotNull(serialized, "Serialized data should not be null");
    
            Object deserialized = serializer.fromBinaryToObject(serialized);
            assertNotNull(deserialized, "Deserialized object should not be null");
            assertTrue("Deserialized object should be a Date", deserialized instanceof Date);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            assertEquals("\"boolKey\":\"true\"", buf.toString());
        }
    
        // Test append method with Date value (other object type)
        @Test
        public void test_append_dateValue() {
            StringBuilder buf = new StringBuilder();
            Date date = new Date(1609459200000L);
            Supplier<Object> supplier = () -> date;
    
            monitorTarget.append(buf, "dateKey", supplier);
            String result = buf.toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        private var servedDate: Date? = null
        private var servedDateString: String? = null
    
        /** The last modified date of the cached response, if known. */
        private var lastModified: Date? = null
        private var lastModifiedString: String? = null
    
        /**
         * The expiration date of the cached response, if known. If both this field and the max age are
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

        @Test
        public void test_ofNullable_withDate() {
            Date testValue = new Date();
            OptionalEntity<Date> result = OptionalUtil.ofNullable(testValue);
    
            assertNotNull(result);
            assertTrue(result.isPresent());
            assertEquals(testValue, result.get());
        }
    
        @Test
        public void test_ofNullable_withNullDate() {
            Date testValue = null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
Back to Top