Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testClockTimezone (2.6 sec)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

            assertSame(clock1, clock2, "Multiple calls to get() should return the same instance");
        }
    
        @Test
        @DisplayName("MonotonicClock should always use UTC timezone")
        void testClockTimezone() {
            MonotonicClock clock = MonotonicClock.get();
    
            assertEquals(ZoneOffset.UTC, clock.getZone(), "Clock should use UTC timezone");
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top