public class TimeIntervals extends Intervals<org.joda.time.DateTime>
TimeInterval.TimeInterval| Constructor and Description |
|---|
TimeIntervals()
Construct an empty collection of time interval.
|
TimeIntervals(org.joda.time.DateTime begin,
org.joda.time.DateTime end)
Construct a collection consisting of one time interval.
|
TimeIntervals(Interval<org.joda.time.DateTime>... intervals)
Construct a collection of time intervals.
|
TimeIntervals(Interval<org.joda.time.DateTime> interval)
Construct a collection consisting of one time interval.
|
TimeIntervals(Intervals<org.joda.time.DateTime> that)
Copy constructor.
|
public TimeIntervals()
public TimeIntervals(org.joda.time.DateTime begin,
org.joda.time.DateTime end)
begin - the beginning timeend - the ending timepublic TimeIntervals(Interval<org.joda.time.DateTime> interval)
interval - a time intervalpublic TimeIntervals(Interval<org.joda.time.DateTime>... intervals)
intervals - time intervalspublic TimeIntervals(Intervals<org.joda.time.DateTime> that)
that - a collection of time intervalsCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.