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

Method pulsedDays

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

Source from the content-addressed store, hash-verified

87 }
88
89 @Test
90 public void pulsedDays() {
91 AdjustableClock clock =
92 AdjustableClock.of(SystemClock.INSTANCE).withPulse(DAYS);
93 assertThat(clock.currentTime().getPosixTime() % 86400, is(0L));
94 }
95
96}

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