- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for withZone (0.1 sec)
-
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
// 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) -
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
* The provided zone parameter is ignored. * * @param zone the target timezone (ignored) * @return this clock instance */ @Override public Clock withZone(ZoneId zone) { // Monotonic clock is always UTC-based return this; }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.6K bytes - Viewed (0)