Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for systemDefault (0.07 seconds)

  1. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

        private static final DateTimeFormatter TIMESTAMP_FORMATTER =
                DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSS").withZone(ZoneId.systemDefault());
    
        /**
         * Executes the log notification job.
         *
         * @return the execution result
         */
        public String execute() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        }
    
        @Test
        public void test_getCurrentTimeAsLocalDateTime() {
            final long current =
                    1000 * systemHelper.getCurrentTimeAsLocalDateTime().atZone(ZoneId.systemDefault()).toInstant().getEpochSecond();
            final long now = System.currentTimeMillis();
            assertTrue(now + ">=" + current + " : " + (now - current), now >= current);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         */
        public LocalDateTime getCurrentTimeAsLocalDateTime() {
            final Instant instant = Instant.ofEpochMilli(getCurrentTimeAsLong());
            return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
        }
    
        /**
         * Gets the path to the log file.
         *
         * @return The log file path.
         */
        public String getLogFilePath() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
Back to Top