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 TypeInterfaceDescriptioninterfaceWritable interface for an interval.Classes in org.joda.time that implement ReadableIntervalModifier and TypeClassDescriptionfinal classInterval is the standard implementation of an immutable time interval.classMutableInterval is the standard implementation of a mutable time interval.Methods in org.joda.time that return ReadableIntervalModifier and TypeMethodDescriptionstatic final ReadableIntervalDateTimeUtils.getReadableInterval(ReadableInterval interval) Gets the interval handling null.Methods in org.joda.time with parameters of type ReadableIntervalModifier and TypeMethodDescriptionbooleanInterval.abuts(ReadableInterval interval) Does this interval abut with the interval specified.voidMutablePeriod.add(ReadableInterval interval) Adds an interval to this one by dividing the interval into fields and callingMutablePeriod.add(ReadablePeriod).voidReadWritablePeriod.add(ReadableInterval interval) Adds an interval to this one by dividing the interval into fields and then adding each field in turn.booleanReadableInterval.contains(ReadableInterval interval) Does this time interval contain the specified time interval.static DaysDays.daysIn(ReadableInterval interval) Creates aDaysrepresenting the number of whole days in the specified interval.Interval.gap(ReadableInterval interval) Gets the gap between this interval and another interval.static final ChronologyDateTimeUtils.getIntervalChronology(ReadableInterval interval) Gets the chronology from the specified interval object handling null.static final ReadableIntervalDateTimeUtils.getReadableInterval(ReadableInterval interval) Gets the interval handling null.static HoursHours.hoursIn(ReadableInterval interval) Creates aHoursrepresenting the number of whole hours in the specified interval.booleanReadableInterval.isAfter(ReadableInterval interval) Is this time interval entirely after the specified interval.booleanReadableInterval.isBefore(ReadableInterval interval) Is this time interval entirely before the specified interval.static MinutesMinutes.minutesIn(ReadableInterval interval) Creates aMinutesrepresenting the number of whole minutes in the specified interval.static MonthsMonths.monthsIn(ReadableInterval interval) Creates aMonthsrepresenting the number of whole months in the specified interval.Interval.overlap(ReadableInterval interval) Gets the overlap between this interval and another interval.booleanReadableInterval.overlaps(ReadableInterval interval) Does this time interval overlap the specified time interval.static SecondsSeconds.secondsIn(ReadableInterval interval) Creates aSecondsrepresenting the number of whole seconds in the specified interval.voidMutableInterval.setInterval(ReadableInterval interval) Sets this interval to be the same as another.voidReadWritableInterval.setInterval(ReadableInterval interval) Sets this interval to be the same as another.voidMutablePeriod.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.voidReadWritablePeriod.setPeriod(ReadableInterval interval) Sets all the fields in one go from an interval dividing the fields using the period type.static WeeksWeeks.weeksIn(ReadableInterval interval) Creates aWeeksrepresenting the number of whole weeks in the specified interval.static YearsYears.yearsIn(ReadableInterval interval) Creates aYearsrepresenting 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 TypeClassDescriptionclassAbstractInterval provides the common behaviour for time intervals.classBaseInterval is an abstract implementation of ReadableInterval that stores data in twolongmillisecond fields.Methods in org.joda.time.base with parameters of type ReadableIntervalModifier and TypeMethodDescriptionbooleanAbstractInterval.contains(ReadableInterval interval) Does this time interval contain the specified time interval.booleanAbstractInterval.isAfter(ReadableInterval interval) Is this time interval entirely after the specified interval.booleanAbstractInterval.isBefore(ReadableInterval interval) Is this time interval entirely before the specified instant.booleanAbstractInterval.isEqual(ReadableInterval other) Is this interval equal to the specified interval ignoring the chronology.booleanAbstractInterval.overlaps(ReadableInterval interval) Does this time interval overlap the specified time interval.