Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for DATE (0.01 sec)

  1. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         *
         * @param value the date string to parse
         * @return parsed Date object, or null if parsing fails
         */
        public static Date parseDate(final String value) {
            return parseDate(value, Constants.DATE_OPTIONAL_TIME);
        }
    
        /**
         * Parses a date string using the specified format.
         *
         * @param value the date string to parse
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

        }
    
        /**
         * Calculates the document expiration date based on crawling configuration.
         * If the config has a timeToLive value, calculates expiration from current time.
         * Otherwise, returns the stored document expiration time.
         *
         * @param config the crawling configuration containing time-to-live settings
         * @return the document expiration date, or null if no expiration is set
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            }
    
            return processFieldConfigs(dataMap, fieldConfigs);
        }
    
        /**
         * Get the last modified date.
         * @param dataMap The data map.
         * @param responseData The response data.
         * @return The last modified date.
         */
        protected Date getLastModified(final Map<String, Object> dataMap, final ResponseData responseData) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            assertEquals("\"boolKey\":\"true\"", buf.toString());
        }
    
        // Test append method with Date value (other object type)
        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();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            });
    
            // Add sorts
            queryContext.addSorts(SortBuilders.fieldSort("_score"), SortBuilders.fieldSort("date").unmappedType("date"));
    
            // Add field logs
            queryContext.addFieldLog("title", "search");
            queryContext.addFieldLog("title", "term");
            queryContext.addFieldLog(Constants.DEFAULT_FIELD, "search term");
    
            // Add highlighted queries
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                return null;
            }
    
            if (clazz.isAssignableFrom(String.class)) {
                return (T) value.toString();
            }
            if (clazz.isAssignableFrom(Date.class)) {
                if (value instanceof Date) {
                    return (T) value;
                }
                return (T) FessFunctions.parseDate(value.toString());
            }
            if (clazz.isAssignableFrom(Long.class)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

      }
    
      /**
       * For Last-Modified and Date headers, we should echo the date back in the exact format we were
       * served.
       */
      @Test
      fun retainServedDateFormat() {
        // Serve a response with a non-standard date format that OkHttp supports.
        val lastModifiedDate = Date(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(-1))
        val servedDate = Date(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(-2))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                        storeChildUrlsToQueue(urlQueue, getChildUrlSet(searchEngineClient, id));
                        return true;
                    }
    
                    final Date expires = DocumentUtil.getValue(document, fessConfig.getIndexFieldExpires(), Date.class);
                    if (expires != null && expires.getTime() < systemHelper.getCurrentTimeAsLong()) {
                        final Object idValue = document.get(fessConfig.getIndexFieldId());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

        protected Date timestamp;
    
        /**
         * Creates a new DictionaryFile with the specified parameters.
         *
         * @param id the unique identifier for this dictionary file
         * @param path the file path of this dictionary
         * @param timestamp the timestamp of the dictionary file
         */
        protected DictionaryFile(final String id, final String path, final Date timestamp) {
            this.id = id;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            @Override
            public void sendRedirect(String location) {
            }
    
            @Override
            public void setDateHeader(String name, long date) {
            }
    
            @Override
            public void addDateHeader(String name, long date) {
            }
    
            @Override
            public void setHeader(String name, String value) {
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top