- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for atZone (0.04 sec)
-
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java
if (format.contains("epoch_millis")) { return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } else if (format.contains("date_optional_time")) { return DateTimeFormatter.ISO_DATE_TIME.format(date); } else { return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 21.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
* Users needing local time representation should convert the result of {@link #instant()} * to their desired timezone: * <pre>{@code * Instant now = MonotonicClock.now(); * ZonedDateTime local = now.atZone(ZoneId.systemDefault()); * }</pre> * * @see System#nanoTime() * @see Clock */ public class MonotonicClock extends Clock { private static final MonotonicClock CLOCK = new MonotonicClock();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.6K bytes - Viewed (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()));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 22.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionQuery.java
if (format.contains("epoch_millis")) { return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } else if (format.contains("date_optional_time")) { return DateTimeFormatter.ISO_DATE_TIME.format(date); } else { return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 21.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionQuery.java
if (format.contains("epoch_millis")) { return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } else if (format.contains("date_optional_time")) { return DateTimeFormatter.ISO_DATE_TIME.format(date); } else { return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 21.1K bytes - Viewed (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[]) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 29.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
assertEquals("guest", systemHelper.getUsername()); } 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);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.9K bytes - Viewed (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. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 32.7K bytes - Viewed (0) -
docs/en/data/github_sponsors.yml
- login: BoostryJP avatarUrl: https://avatars.githubusercontent.com/u/57932412?v=4 url: https://github.com/BoostryJP - login: acsone avatarUrl: https://avatars.githubusercontent.com/u/7601056?v=4 url: https://github.com/acsone - - login: Trivie avatarUrl: https://avatars.githubusercontent.com/u/8161763?v=4 url: https://github.com/Trivie - - login: takashi-yoneya
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Sep 05 08:58:22 UTC 2025 - 21.3K bytes - Viewed (0) -
docs/en/docs/fastapi-cli.md
## `fastapi run` { #fastapi-run } Executing `fastapi run` starts FastAPI in production mode by default.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.8K bytes - Viewed (0)