Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for parseMillis (0.05 seconds)

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

                    final Calendar cal = DateConverter.toCalendar(value);
                    return cal != null ? cal.getTime() : null;
                }
    
                final long time = Joda.forPattern(format).parseMillis(value);
                return new Date(time);
            } catch (final Exception e) {
                return null;
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  2. benchmarks/src/main/java/org/elasticsearch/common/RoundingBenchmark.java

        private long[] dates;
        private Supplier<Rounding.Prepared> rounderBuilder;
    
        @Setup
        public void buildDates() {
            String[] r = range.split(" to ");
            min = FORMATTER.parseMillis(r[0]);
            max = FORMATTER.parseMillis(r[1]);
            dates = new long[count];
            long date = min;
            long diff = (max - min) / dates.length;
            for (int i = 0; i < dates.length; i++) {
                if (date >= max) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 4.1K bytes
    - Click Count (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            @Override
            public Object getAsObject(final String value) {
                if (StringUtil.isEmpty(value)) {
                    return null;
                }
                return new Timestamp(DEFAULT_DATE_PRINTER.parseMillis(value));
            }
    
            /**
             * Determines if this converter can handle the specified class.
             *
             * @param clazz The class to check.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 34.3K bytes
    - Click Count (0)
Back to Top