Package dev.nm.misc.datastructure.time
Class TimeInterval
- java.lang.Object
-
- dev.nm.interval.Interval<LocalDateTime>
-
- dev.nm.misc.datastructure.time.TimeInterval
-
public class TimeInterval extends Interval<LocalDateTime>
This is a time interval. This class is immutable.
-
-
Constructor Summary
Constructors Constructor Description TimeInterval(LocalDateTime begin, LocalDateTime end)
Construct a time interval from two time points.
-
-
-
Constructor Detail
-
TimeInterval
public TimeInterval(LocalDateTime begin, LocalDateTime end)
Construct a time interval from two time points.- Parameters:
begin
- the beginning timeend
- the ending time
-
-