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

Method pulsedHours

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

Source from the content-addressed store, hash-verified

80 }
81
82 @Test
83 public void pulsedHours() {
84 AdjustableClock clock =
85 AdjustableClock.of(SystemClock.INSTANCE).withPulse(HOURS);
86 assertThat(clock.currentTime().getPosixTime() % 3600, is(0L));
87 }
88
89 @Test
90 public void pulsedDays() {

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