- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for systemDefault (0.08 sec)
-
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt
enabled = enabled, ) } fun currentVm(ianaSuites: IanaSuites): Client = systemDefault( name = System.getProperty("java.vm.name"), version = System.getProperty("java.version"), ianaSuites = ianaSuites, ) fun conscrypt(ianaSuites: IanaSuites): Client { val version = Conscrypt.version() return systemDefault( name = "Conscrypt", version = "${version.major()}.${version.minor()}",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/FavoriteLogBhv.java
if (value != null) { try { final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString())); return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); } catch (final DateTimeParseException e) { logger.debug("Invalid date format: {}", value, e); } } return DfTypeUtil.toLocalDateTime(value); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/UserInfoBhv.java
if (value != null) { try { final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString())); return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); } catch (final DateTimeParseException e) { logger.debug("Invalid date format: {}", value, e); } } return DfTypeUtil.toLocalDateTime(value); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.1K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt
.appendLiteral(':') .appendValue(SECOND_OF_MINUTE, 2) .optionalStart() .appendFraction(NANO_OF_SECOND, 3, 3, true) .toFormatter() private val offset = ZoneOffset.systemDefault() override fun format(record: LogRecord): String { val message = formatMessage(record) val time = Instant.ofEpochMilli(record.millis).atZone(offset) return if (record.thrown != null) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2.1K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/ClickLogBhv.java
if (value != null) { try { final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString())); return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); } catch (final DateTimeParseException e) { logger.debug("Invalid date format: {}", value, e); } } return DfTypeUtil.toLocalDateTime(value); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exentity/UserInfo.java
if (value instanceof final LocalDateTime ldt) { final ZonedDateTime zdt = ZonedDateTime.of(ldt, ZoneId.systemDefault()); super.addFieldToSource(sourceMap, field, DateTimeFormatter.ISO_INSTANT.format(zdt)); } else { super.addFieldToSource(sourceMap, field, value); } } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exentity/FavoriteLog.java
if (value instanceof final LocalDateTime ldt) { final ZonedDateTime zdt = ZonedDateTime.of(ldt, ZoneId.systemDefault()); super.addFieldToSource(sourceMap, field, DateTimeFormatter.ISO_INSTANT.format(zdt)); } else { super.addFieldToSource(sourceMap, field, value); } } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exentity/SearchLog.java
if (value instanceof final LocalDateTime ldt) { final ZonedDateTime zdt = ZonedDateTime.of(ldt, ZoneId.systemDefault()); super.addFieldToSource(sourceMap, field, DateTimeFormatter.ISO_INSTANT.format(zdt)); } else { super.addFieldToSource(sourceMap, field, value); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 6K 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) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
assertEquals(ZoneOffset.UTC, clock.getZone(), "Clock should use UTC timezone"); // Verify that attempting to change timezone returns the same instance Clock newClock = clock.withZone(ZoneId.systemDefault()); assertSame(clock, newClock, "withZone() should return the same clock instance"); } @Test @DisplayName("MonotonicClock should maintain monotonic time progression")
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.8K bytes - Viewed (0)