Uses of Interface
org.joda.time.ReadableInterval
Packages that use ReadableInterval
Package
Description
Provides support for dates, times, time zones, durations, intervals, and
partials.
Implementation package providing abstract and base time classes.
-
Uses of ReadableInterval in org.joda.time
Subinterfaces of ReadableInterval in org.joda.timeModifier and TypeInterfaceDescriptioninterface
Writable interface for an interval.Classes in org.joda.time that implement ReadableIntervalModifier and TypeClassDescriptionfinal class
Interval is the standard implementation of an immutable time interval.class
MutableInterval is the standard implementation of a mutable time interval.Methods in org.joda.time that return ReadableIntervalModifier and TypeMethodDescriptionstatic final ReadableInterval
DateTimeUtils.getReadableInterval
(ReadableInterval interval) Gets the interval handling null.Methods in org.joda.time with parameters of type ReadableIntervalModifier and TypeMethodDescriptionboolean
Interval.abuts
(ReadableInterval interval) Does this interval abut with the interval specified.void
MutablePeriod.add
(ReadableInterval interval) Adds an interval to this one by dividing the interval into fields and callingMutablePeriod.add(ReadablePeriod)
.void
ReadWritablePeriod.add
(ReadableInterval interval) Adds an interval to this one by dividing the interval into fields and then adding each field in turn.boolean
ReadableInterval.contains
(ReadableInterval interval) Does this time interval contain the specified time interval.static Days
Days.daysIn
(ReadableInterval interval) Creates aDays
representing the number of whole days in the specified interval.Interval.gap
(ReadableInterval interval) Gets the gap between this interval and another interval.static final Chronology
DateTimeUtils.getIntervalChronology
(ReadableInterval interval) Gets the chronology from the specified interval object handling null.static final ReadableInterval
DateTimeUtils.getReadableInterval
(ReadableInterval interval) Gets the interval handling null.static Hours
Hours.hoursIn
(ReadableInterval interval) Creates aHours
representing the number of whole hours in the specified interval.boolean
ReadableInterval.isAfter
(ReadableInterval interval) Is this time interval entirely after the specified interval.boolean
ReadableInterval.isBefore
(ReadableInterval interval) Is this time interval entirely before the specified interval.static Minutes
Minutes.minutesIn
(ReadableInterval interval) Creates aMinutes
representing the number of whole minutes in the specified interval.static Months
Months.monthsIn
(ReadableInterval interval) Creates aMonths
representing the number of whole months in the specified interval.Interval.overlap
(ReadableInterval interval) Gets the overlap between this interval and another interval.boolean
ReadableInterval.overlaps
(ReadableInterval interval) Does this time interval overlap the specified time interval.static Seconds
Seconds.secondsIn
(ReadableInterval interval) Creates aSeconds
representing the number of whole seconds in the specified interval.void
MutableInterval.setInterval
(ReadableInterval interval) Sets this interval to be the same as another.void
ReadWritableInterval.setInterval
(ReadableInterval interval) Sets this interval to be the same as another.void
MutablePeriod.setPeriod
(ReadableInterval interval) Sets all the fields in one go from an interval using the ISO chronology and dividing the fields using the period type.void
ReadWritablePeriod.setPeriod
(ReadableInterval interval) Sets all the fields in one go from an interval dividing the fields using the period type.static Weeks
Weeks.weeksIn
(ReadableInterval interval) Creates aWeeks
representing the number of whole weeks in the specified interval.static Years
Years.yearsIn
(ReadableInterval interval) Creates aYears
representing the number of whole years in the specified interval. -
Uses of ReadableInterval in org.joda.time.base
Classes in org.joda.time.base that implement ReadableIntervalModifier and TypeClassDescriptionclass
AbstractInterval provides the common behaviour for time intervals.class
BaseInterval is an abstract implementation of ReadableInterval that stores data in twolong
millisecond fields.Methods in org.joda.time.base with parameters of type ReadableIntervalModifier and TypeMethodDescriptionboolean
AbstractInterval.contains
(ReadableInterval interval) Does this time interval contain the specified time interval.boolean
AbstractInterval.isAfter
(ReadableInterval interval) Is this time interval entirely after the specified interval.boolean
AbstractInterval.isBefore
(ReadableInterval interval) Is this time interval entirely before the specified instant.boolean
AbstractInterval.isEqual
(ReadableInterval other) Is this interval equal to the specified interval ignoring the chronology.boolean
AbstractInterval.overlaps
(ReadableInterval interval) Does this time interval overlap the specified time interval.