Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for systemDefault (0.32 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. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

                    .append(", platform encoding: ")
                    .append(System.getProperty("file.encoding", "<unknown encoding>"))
                    .append(", time zone: ")
                    .append(ZoneId.systemDefault().getId())
                    .append(ls);
            version.append("OS name: \"")
                    .append(Os.OS_NAME)
                    .append("\", version: \"")
                    .append(Os.OS_VERSION)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 10 15:37:54 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  3. 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)
  4. 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