MCPcopy Create free account
hub / github.com/MenoData/Time4J / pulsedMinutes

Method pulsedMinutes

base/src/test/java/net/time4j/clock/ClockTest.java:75–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 }
74
75 @Test
76 public void pulsedMinutes() {
77 AdjustableClock clock =
78 AdjustableClock.of(SystemClock.INSTANCE).withPulse(MINUTES);
79 assertThat(clock.currentTime().getPosixTime() % 60, is(0L));
80 }
81
82 @Test
83 public void pulsedHours() {

Callers

nothing calls this directly

Calls 4

ofMethod · 0.95
currentTimeMethod · 0.95
withPulseMethod · 0.80
getPosixTimeMethod · 0.65

Tested by

no test coverage detected