@Test public void equals3() { TimeInterval interval = TimeInterval.between(Instant.ofEpochSecond(0, 0), Instant.ofEpochSecond(3600, 1)); assertThat(interval, not(equalTo(TimeInterval.between(Instant.ofEpochSecond(0, 0), Instant.ofEpochSecond(3600, 0))))); }
public static TimeInterval between(Instant start, Instant end) { return new TimeInterval(start, end); }
TimeInterval { public static TimeInterval between(Instant start, Instant end) { return new TimeInterval(start, end); } }
TimeInterval { public static TimeInterval between(Instant start, Instant end) { return new TimeInterval(start, end); } private  TimeInterval(Instant start, Instant end); }
TimeInterval { public static TimeInterval between(Instant start, Instant end) { return new TimeInterval(start, end); } private  TimeInterval(Instant start, Instant end); boolean contains(Instant instant); static TimeInterval between(Instant start, Instant end); TimeInterval minus(Duration duration); static TimeInterval around(Duration duration, Instant reference); static TimeInterval after(Duration duration, Instant reference); static TimeInterval before(Duration duration, Instant reference); Instant getStart(); Instant getEnd(); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode(); }
TimeInterval { public static TimeInterval between(Instant start, Instant end) { return new TimeInterval(start, end); } private  TimeInterval(Instant start, Instant end); boolean contains(Instant instant); static TimeInterval between(Instant start, Instant end); TimeInterval minus(Duration duration); static TimeInterval around(Duration duration, Instant reference); static TimeInterval after(Duration duration, Instant reference); static TimeInterval before(Duration duration, Instant reference); Instant getStart(); Instant getEnd(); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode();  }