Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 268 for Instant (0.13 sec)

  1. 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() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. 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);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. 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")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Dec 21 01:54:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/istio-mesh-dashboard.gen.json

                   "format": "table",
                   "instant": true,
                   "legendFormat": "{{ destination_workload}}.{{ destination_workload_namespace }}",
                   "refId": "requests"
                },
                {
                   "datasource": {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. 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);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. 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);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/grafana/minio-dashboard.json

                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "time() - max(minio_node_process_starttime_seconds{job=~\"$scrape_jobs\"})",
              "format": "time_series",
              "instant": true,
              "interval": "",
              "intervalFactor": 1,
              "legendFormat": "{{instance}}",
              "metric": "process_start_time_seconds",
              "refId": "A",
              "step": 60
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 14:51:03 UTC 2024
    - 93K bytes
    - Viewed (0)
  8. 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);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

    public class ProtoSession extends AbstractSession {
    
        private final Map<String, String> userProperties;
        private final Map<String, String> systemProperties;
        private final Instant startTime = Instant.now();
    
        ProtoSession(RepositorySystemSession session, RepositorySystem repositorySystem, Lookup lookup) {
            this(session, repositorySystem, Collections.emptyList(), null, lookup, new Context(Map.of(), Map.of()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. 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))
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top