Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for systemDefault (0.28 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/main/java/org/codelibs/fess/helper/SuggestHelper.java

            final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
            boolQueryBuilder
                    .must(QueryBuilders.rangeQuery(FieldNames.TIMESTAMP).lt(time.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()));
    
            boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/storage/StorageItemTest.java

            final String path = "/documents/";
            final boolean directory = false;
            final long size = 1024L;
            final ZonedDateTime lastModified = ZonedDateTime.of(2025, 1, 15, 10, 30, 0, 0, ZoneId.systemDefault());
            final String encodedId = "dGVzdC1maWxlLnR4dA==";
    
            final StorageItem item = new StorageItem(name, path, directory, size, lastModified, encodedId);
    
            assertEquals(name, item.getName());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

                        final String fileName = getName(objectKey);
                        final ZonedDateTime lastModified =
                                s3Object.lastModified() != null ? s3Object.lastModified().atZone(java.time.ZoneId.systemDefault()) : null;
                        items.add(new StorageItem(fileName, prefix, false, s3Object.size(), lastModified, encodeId(objectKey)));
                    }
                }
            } catch (final NoSuchBucketException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            if (value == null) {
                buf.append("null");
            } else if (value instanceof LocalDateTime) {
                final String format =
                        ((LocalDateTime) value).atZone(ZoneId.systemDefault()).withZoneSameInstant(ZoneId.of("UTC")).format(ISO_8601_FORMATTER);
                buf.append('"').append(StringEscapeUtils.escapeJson(format)).append('"');
            } else if (value instanceof String[]) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 32.1K bytes
    - Click Count (0)
  7. 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)
  8. 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