Home
last modified time | relevance | path

Searched refs:getInstant (Results 1 – 25 of 148) sorted by relevance

123456

/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/util/logging/HigherResolutionTimeStamps/
H A DLogRecordWithNanosAPI.java109 assertEquals(record.getInstant().getEpochSecond(), in test()
110 record2.getInstant().getEpochSecond(), in test()
112 assertEquals(record.getInstant().getNano(), in test()
113 record2.getInstant().getNano(), in test()
115 assertEquals(record.getInstant().toEpochMilli(), in test()
116 record2.getInstant().toEpochMilli(), in test()
136 assertEquals(nanos, record.getInstant().getNano(), in test()
141 assertEquals(nanos, record2.getInstant().getNano(), in test()
164 final Instant instant = record.getInstant(); in main()
314 record.getInstant().toEpochMilli(), in main()
[all …]
H A DLogRecordWithNanos.java88 assertEquals(record.getInstant().getEpochSecond(), in test()
89 record2.getInstant().getEpochSecond(), in test()
91 assertEquals(record.getInstant().getNano(), in test()
92 record2.getInstant().getNano(), in test()
94 assertEquals(record.getInstant().toEpochMilli(), in test()
95 record2.getInstant().toEpochMilli(), in test()
98 record.getInstant().toEpochMilli(), in test()
101 record2.getInstant().toEpochMilli(), in test()
105 record.getInstant().getNano(), in test()
110 record2.getInstant().getNano(), in test()
[all …]
H A DSimpleFormatterNanos.java63 return record.getInstant().getNano() % NANOS_IN_MILLI; in getNanoAdjustment()
66 record.setInstant(Instant.ofEpochSecond(record.getInstant().getEpochSecond(), in setNanoAdjustment()
67 (record.getInstant().getNano() / NANOS_IN_MILLI) * NANOS_IN_MILLI + nanos)); in setNanoAdjustment()
85 final Instant instant = record.getInstant(); in main()
98 if (millis != record.getInstant().toEpochMilli()) { in main()
100 + record.getInstant().toEpochMilli()); in main()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/util/logging/HigherResolutionTimeStamps/
H A DLogRecordWithNanosAPI.java109 assertEquals(record.getInstant().getEpochSecond(), in test()
110 record2.getInstant().getEpochSecond(), in test()
112 assertEquals(record.getInstant().getNano(), in test()
113 record2.getInstant().getNano(), in test()
115 assertEquals(record.getInstant().toEpochMilli(), in test()
116 record2.getInstant().toEpochMilli(), in test()
136 assertEquals(nanos, record.getInstant().getNano(), in test()
141 assertEquals(nanos, record2.getInstant().getNano(), in test()
164 final Instant instant = record.getInstant(); in main()
314 record.getInstant().toEpochMilli(), in main()
[all …]
H A DLogRecordWithNanos.java88 assertEquals(record.getInstant().getEpochSecond(), in test()
89 record2.getInstant().getEpochSecond(), in test()
91 assertEquals(record.getInstant().getNano(), in test()
92 record2.getInstant().getNano(), in test()
94 assertEquals(record.getInstant().toEpochMilli(), in test()
95 record2.getInstant().toEpochMilli(), in test()
98 record.getInstant().toEpochMilli(), in test()
101 record2.getInstant().toEpochMilli(), in test()
105 record.getInstant().getNano(), in test()
110 record2.getInstant().getNano(), in test()
[all …]
H A DSimpleFormatterNanos.java63 return record.getInstant().getNano() % NANOS_IN_MILLI; in getNanoAdjustment()
66 record.setInstant(Instant.ofEpochSecond(record.getInstant().getEpochSecond(), in setNanoAdjustment()
67 (record.getInstant().getNano() / NANOS_IN_MILLI) * NANOS_IN_MILLI + nanos)); in setNanoAdjustment()
85 final Instant instant = record.getInstant(); in main()
98 if (millis != record.getInstant().toEpochMilli()) { in main()
100 + record.getInstant().toEpochMilli()); in main()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/util/logging/HigherResolutionTimeStamps/
H A DLogRecordWithNanosAPI.java109 assertEquals(record.getInstant().getEpochSecond(), in test()
110 record2.getInstant().getEpochSecond(), in test()
112 assertEquals(record.getInstant().getNano(), in test()
113 record2.getInstant().getNano(), in test()
115 assertEquals(record.getInstant().toEpochMilli(), in test()
116 record2.getInstant().toEpochMilli(), in test()
136 assertEquals(nanos, record.getInstant().getNano(), in test()
141 assertEquals(nanos, record2.getInstant().getNano(), in test()
164 final Instant instant = record.getInstant(); in main()
314 record.getInstant().toEpochMilli(), in main()
[all …]
H A DLogRecordWithNanos.java88 assertEquals(record.getInstant().getEpochSecond(), in test()
89 record2.getInstant().getEpochSecond(), in test()
91 assertEquals(record.getInstant().getNano(), in test()
92 record2.getInstant().getNano(), in test()
94 assertEquals(record.getInstant().toEpochMilli(), in test()
95 record2.getInstant().toEpochMilli(), in test()
98 record.getInstant().toEpochMilli(), in test()
101 record2.getInstant().toEpochMilli(), in test()
105 record.getInstant().getNano(), in test()
110 record2.getInstant().getNano(), in test()
[all …]
H A DSimpleFormatterNanos.java63 return record.getInstant().getNano() % NANOS_IN_MILLI; in getNanoAdjustment()
66 record.setInstant(Instant.ofEpochSecond(record.getInstant().getEpochSecond(), in setNanoAdjustment()
67 (record.getInstant().getNano() / NANOS_IN_MILLI) * NANOS_IN_MILLI + nanos)); in setNanoAdjustment()
85 final Instant instant = record.getInstant(); in main()
98 if (millis != record.getInstant().toEpochMilli()) { in main()
100 + record.getInstant().toEpochMilli()); in main()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/util/logging/HigherResolutionTimeStamps/
H A DLogRecordWithNanosAPI.java109 assertEquals(record.getInstant().getEpochSecond(), in test()
110 record2.getInstant().getEpochSecond(), in test()
112 assertEquals(record.getInstant().getNano(), in test()
113 record2.getInstant().getNano(), in test()
115 assertEquals(record.getInstant().toEpochMilli(), in test()
116 record2.getInstant().toEpochMilli(), in test()
136 assertEquals(nanos, record.getInstant().getNano(), in test()
141 assertEquals(nanos, record2.getInstant().getNano(), in test()
164 final Instant instant = record.getInstant(); in main()
314 record.getInstant().toEpochMilli(), in main()
[all …]
H A DLogRecordWithNanos.java88 assertEquals(record.getInstant().getEpochSecond(), in test()
89 record2.getInstant().getEpochSecond(), in test()
91 assertEquals(record.getInstant().getNano(), in test()
92 record2.getInstant().getNano(), in test()
94 assertEquals(record.getInstant().toEpochMilli(), in test()
95 record2.getInstant().toEpochMilli(), in test()
98 record.getInstant().toEpochMilli(), in test()
101 record2.getInstant().toEpochMilli(), in test()
105 record.getInstant().getNano(), in test()
110 record2.getInstant().getNano(), in test()
[all …]
H A DSimpleFormatterNanos.java63 return record.getInstant().getNano() % NANOS_IN_MILLI; in getNanoAdjustment()
66 record.setInstant(Instant.ofEpochSecond(record.getInstant().getEpochSecond(), in setNanoAdjustment()
67 (record.getInstant().getNano() / NANOS_IN_MILLI) * NANOS_IN_MILLI + nanos)); in setNanoAdjustment()
85 final Instant instant = record.getInstant(); in main()
98 if (millis != record.getInstant().toEpochMilli()) { in main()
100 + record.getInstant().toEpochMilli()); in main()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/util/logging/HigherResolutionTimeStamps/
H A DLogRecordWithNanosAPI.java109 assertEquals(record.getInstant().getEpochSecond(), in test()
110 record2.getInstant().getEpochSecond(), in test()
112 assertEquals(record.getInstant().getNano(), in test()
113 record2.getInstant().getNano(), in test()
115 assertEquals(record.getInstant().toEpochMilli(), in test()
116 record2.getInstant().toEpochMilli(), in test()
136 assertEquals(nanos, record.getInstant().getNano(), in test()
141 assertEquals(nanos, record2.getInstant().getNano(), in test()
164 final Instant instant = record.getInstant(); in main()
314 record.getInstant().toEpochMilli(), in main()
[all …]
H A DLogRecordWithNanos.java88 assertEquals(record.getInstant().getEpochSecond(), in test()
89 record2.getInstant().getEpochSecond(), in test()
91 assertEquals(record.getInstant().getNano(), in test()
92 record2.getInstant().getNano(), in test()
94 assertEquals(record.getInstant().toEpochMilli(), in test()
95 record2.getInstant().toEpochMilli(), in test()
98 record.getInstant().toEpochMilli(), in test()
101 record2.getInstant().toEpochMilli(), in test()
105 record.getInstant().getNano(), in test()
110 record2.getInstant().getNano(), in test()
[all …]
H A DSimpleFormatterNanos.java63 return record.getInstant().getNano() % NANOS_IN_MILLI; in getNanoAdjustment()
66 record.setInstant(Instant.ofEpochSecond(record.getInstant().getEpochSecond(), in setNanoAdjustment()
67 (record.getInstant().getNano() / NANOS_IN_MILLI) * NANOS_IN_MILLI + nanos)); in setNanoAdjustment()
85 final Instant instant = record.getInstant(); in main()
98 if (millis != record.getInstant().toEpochMilli()) { in main()
100 + record.getInstant().toEpochMilli()); in main()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/util/logging/HigherResolutionTimeStamps/
H A DLogRecordWithNanosAPI.java109 assertEquals(record.getInstant().getEpochSecond(), in test()
110 record2.getInstant().getEpochSecond(), in test()
112 assertEquals(record.getInstant().getNano(), in test()
113 record2.getInstant().getNano(), in test()
115 assertEquals(record.getInstant().toEpochMilli(), in test()
116 record2.getInstant().toEpochMilli(), in test()
136 assertEquals(nanos, record.getInstant().getNano(), in test()
141 assertEquals(nanos, record2.getInstant().getNano(), in test()
164 final Instant instant = record.getInstant(); in main()
314 record.getInstant().toEpochMilli(), in main()
[all …]
H A DLogRecordWithNanos.java88 assertEquals(record.getInstant().getEpochSecond(), in test()
89 record2.getInstant().getEpochSecond(), in test()
91 assertEquals(record.getInstant().getNano(), in test()
92 record2.getInstant().getNano(), in test()
94 assertEquals(record.getInstant().toEpochMilli(), in test()
95 record2.getInstant().toEpochMilli(), in test()
98 record.getInstant().toEpochMilli(), in test()
101 record2.getInstant().toEpochMilli(), in test()
105 record.getInstant().getNano(), in test()
110 record2.getInstant().getNano(), in test()
[all …]
H A DSimpleFormatterNanos.java63 return record.getInstant().getNano() % NANOS_IN_MILLI; in getNanoAdjustment()
66 record.setInstant(Instant.ofEpochSecond(record.getInstant().getEpochSecond(), in setNanoAdjustment()
67 (record.getInstant().getNano() / NANOS_IN_MILLI) * NANOS_IN_MILLI + nanos)); in setNanoAdjustment()
85 final Instant instant = record.getInstant(); in main()
98 if (millis != record.getInstant().toEpochMilli()) { in main()
100 + record.getInstant().toEpochMilli()); in main()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/util/logging/HigherResolutionTimeStamps/
H A DLogRecordWithNanosAPI.java109 assertEquals(record.getInstant().getEpochSecond(), in test()
110 record2.getInstant().getEpochSecond(), in test()
112 assertEquals(record.getInstant().getNano(), in test()
113 record2.getInstant().getNano(), in test()
115 assertEquals(record.getInstant().toEpochMilli(), in test()
116 record2.getInstant().toEpochMilli(), in test()
136 assertEquals(nanos, record.getInstant().getNano(), in test()
141 assertEquals(nanos, record2.getInstant().getNano(), in test()
164 final Instant instant = record.getInstant(); in main()
314 record.getInstant().toEpochMilli(), in main()
[all …]
H A DLogRecordWithNanos.java88 assertEquals(record.getInstant().getEpochSecond(), in test()
89 record2.getInstant().getEpochSecond(), in test()
91 assertEquals(record.getInstant().getNano(), in test()
92 record2.getInstant().getNano(), in test()
94 assertEquals(record.getInstant().toEpochMilli(), in test()
95 record2.getInstant().toEpochMilli(), in test()
98 record.getInstant().toEpochMilli(), in test()
101 record2.getInstant().toEpochMilli(), in test()
105 record.getInstant().getNano(), in test()
110 record2.getInstant().getNano(), in test()
[all …]
H A DSimpleFormatterNanos.java63 return record.getInstant().getNano() % NANOS_IN_MILLI; in getNanoAdjustment()
66 record.setInstant(Instant.ofEpochSecond(record.getInstant().getEpochSecond(), in setNanoAdjustment()
67 (record.getInstant().getNano() / NANOS_IN_MILLI) * NANOS_IN_MILLI + nanos)); in setNanoAdjustment()
85 final Instant instant = record.getInstant(); in main()
98 if (millis != record.getInstant().toEpochMilli()) { in main()
100 + record.getInstant().toEpochMilli()); in main()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/util/logging/HigherResolutionTimeStamps/
H A DLogRecordWithNanosAPI.java109 assertEquals(record.getInstant().getEpochSecond(), in test()
110 record2.getInstant().getEpochSecond(), in test()
112 assertEquals(record.getInstant().getNano(), in test()
113 record2.getInstant().getNano(), in test()
115 assertEquals(record.getInstant().toEpochMilli(), in test()
116 record2.getInstant().toEpochMilli(), in test()
136 assertEquals(nanos, record.getInstant().getNano(), in test()
141 assertEquals(nanos, record2.getInstant().getNano(), in test()
164 final Instant instant = record.getInstant(); in main()
314 record.getInstant().toEpochMilli(), in main()
[all …]
H A DLogRecordWithNanos.java88 assertEquals(record.getInstant().getEpochSecond(), in test()
89 record2.getInstant().getEpochSecond(), in test()
91 assertEquals(record.getInstant().getNano(), in test()
92 record2.getInstant().getNano(), in test()
94 assertEquals(record.getInstant().toEpochMilli(), in test()
95 record2.getInstant().toEpochMilli(), in test()
98 record.getInstant().toEpochMilli(), in test()
101 record2.getInstant().toEpochMilli(), in test()
105 record.getInstant().getNano(), in test()
110 record2.getInstant().getNano(), in test()
[all …]
H A DSimpleFormatterNanos.java63 return record.getInstant().getNano() % NANOS_IN_MILLI; in getNanoAdjustment()
66 record.setInstant(Instant.ofEpochSecond(record.getInstant().getEpochSecond(), in setNanoAdjustment()
67 (record.getInstant().getNano() / NANOS_IN_MILLI) * NANOS_IN_MILLI + nanos)); in setNanoAdjustment()
85 final Instant instant = record.getInstant(); in main()
98 if (millis != record.getInstant().toEpochMilli()) { in main()
100 + record.getInstant().toEpochMilli()); in main()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/time/tck/java/time/zone/
H A DTCKZoneRules.java420 assertEquals(test.nextTransition(cur.getInstant()), next); in test_London_nextTransition_historic()
439 assertEquals(test.nextTransition(a.getInstant()), b); in test_London_nextTransition_rulesBased()
442 assertEquals(test.nextTransition(b.getInstant()), c); in test_London_nextTransition_rulesBased()
452 assertEquals(test.nextTransition(zot.getInstant()), null); in test_London_nextTransition_lastYear()
462 assertEquals(test.previousTransition(first.getInstant()), null); in test_London_previousTransition_historic()
469 assertEquals(test.previousTransition(cur.getInstant()), prev); in test_London_previousTransition_historic()
496 assertEquals(test.previousTransition(c.getInstant()), b); in test_London_previousTransition_rulesBased()
500 assertEquals(test.previousTransition(b.getInstant()), a); in test_London_previousTransition_rulesBased()
930 assertEquals(test.nextTransition(cur.getInstant()), next); in test_Kathmandu_nextTransition_historic()
941 assertEquals(test.nextTransition(last.getInstant()), null); in test_Kathmandu_nextTransition_noRules()
[all …]

123456