- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for systemDefault (0.28 seconds)
-
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) -
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) -
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) -
impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java
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) -
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) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
} } private static void writePsOutputToFile(File rootProjectDir, List<String> psOutput) { String timestamp = LocalDateTime.now(ZoneId.systemDefault()).format(DateTimeFormatter.ofPattern("yyyy-MM-dd-HH-mm-ss")); File psOutFile = new File(rootProjectDir, timestamp + ".psoutput"); try { Files.write(psOutFile.toPath(), psOutput);Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Sep 23 13:49:45 GMT 2025 - 12K bytes - Click Count (0) -
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) -
src/main/java/org/codelibs/fess/app/service/SearchLogService.java
* @return LocalDateTime in UTC timezone */ protected LocalDateTime parseDateTime(final String value, final DateTimeFormatter formatter) { return LocalDateTime.parse(value, formatter).atZone(ZoneId.systemDefault()).withZoneSameInstant(ZoneOffset.UTC).toLocalDateTime(); } /** * Retrieves a specific search log entry by log type and ID. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 32.7K bytes - Click Count (0) -
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) -
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)