Package org.salespointframework.time
Class Intervals
- java.lang.Object
-
- org.salespointframework.time.Intervals
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Intervals
divide(Interval interval, TemporalAmount duration)
Divides the givenInterval
into smaller intervals of the given duration.Iterator<Interval>
iterator()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
divide
public static Intervals divide(Interval interval, TemporalAmount duration)
Divides the givenInterval
into smaller intervals of the given duration.- Parameters:
interval
- must not be null.duration
- must not be null.- Returns:
-
-