- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,940 for instant (0.2 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenBuildTimestamp.java
* to {@link #MavenBuildTimestamp(Instant, String)} instead. */ @Deprecated public MavenBuildTimestamp(Instant time, Properties properties) { this(time, properties != null ? properties.getProperty(BUILD_TIMESTAMP_FORMAT_PROPERTY) : null); } public MavenBuildTimestamp(Instant time, String timestampFormat) {
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/exbhv/FavoriteLogBhv.java
@Override protected LocalDateTime toLocalDateTime(final Object value) { 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); }
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/exbhv/UserInfoBhv.java
@Override protected LocalDateTime toLocalDateTime(final Object value) { 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); }
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
} @Test fun setInstant() { val expected = Instant.ofEpochMilli(1000L) val headers = Headers.Builder() .add("Test-Instant", Instant.ofEpochMilli(0L)) .set("Test-Instant", expected) .build() assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT") assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected) } @Test fun addParsing() {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/exbhv/SearchLogBhv.java
@Override protected LocalDateTime toLocalDateTime(final Object value) { 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); }
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/exbhv/ClickLogBhv.java
@Override protected LocalDateTime toLocalDateTime(final Object value) { 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); }
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Headers.kt
) = add(name, value.toHttpDateString()) /** * Add a header with the specified name and formatted instant. Does validation of header names * and value. */ @IgnoreJRERequirement // Only programs that already have Instant will use this. fun add( name: String, value: Instant, ) = add(name, Date.from(value)) /**
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.5K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.curl.logging import java.io.PrintWriter import java.io.StringWriter import java.time.Instant import java.time.ZoneOffset import java.time.format.DateTimeFormatterBuilder import java.time.temporal.ChronoField.HOUR_OF_DAY import java.time.temporal.ChronoField.MINUTE_OF_HOUR
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import assertk.assertions.isNull import java.time.Instant import java.util.Date import okhttp3.Headers.Companion.headersOf import org.junit.jupiter.api.Test class HeadersKotlinTest { @Test fun getOperator() { val headers = headersOf("a", "b", "c", "d")
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Thu Dec 21 01:54:49 GMT 2023 - 2K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java
return injector.getInstance(Session.class); } static class DefaultSession extends AbstractSession { private final Map<String, String> systemProperties; private Instant startTime = Instant.now(); DefaultSession(RepositorySystemSession session, RepositorySystem repositorySystem, Lookup lookup) { this(session, repositorySystem, Collections.emptyList(), null, lookup); }
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 17.1K bytes - Viewed (0)