Frames | No Frames |
Classes implementing org.joda.time.ReadableDuration | |
class | An immutable duration specifying a length of time in milliseconds. |
Constructors with parameter type org.joda.time.ReadableDuration | |
Constructs an interval from a millisecond duration and an end instant. | |
Constructs an interval from a start instant and a duration. | |
Constructs an interval from a millisecond duration and an end instant. | |
Constructs an interval from a start instant and a duration. | |
Creates a period from the given duration and end point. | |
Creates a period from the given duration and end point. | |
Creates a period from the given start point and the duration. | |
MutablePeriod.MutablePeriod(ReadableInstant startInstant, ReadableDuration duration, PeriodType type) Creates a period from the given start point and the duration. | |
Creates a period from the given duration and end point. | |
Creates a period from the given duration and end point. | |
Creates a period from the given start point and the duration. | |
Creates a period from the given start point and the duration. |
Methods with parameter type org.joda.time.ReadableDuration | |
void | Adds a duration to this instant. |
void | Adds a duration to this one by dividing the duration into
fields and calling add(ReadablePeriod) . |
void | Adds a duration to this instant. |
void | Adds a duration to this instant specifying how many times to add. |
void | Adds a duration to this instant specifying how many times to add. |
long | Gets the millisecond duration from the specified duration object handling null. |
boolean | Is the length of this duration equal to the duration passed in. |
boolean | Is the length of this duration longer than the duration passed in. |
boolean | Is the length of this duration shorter than the duration passed in. |
DateMidnight | Returns a copy of this date with the specified duration taken away. |
DateTime | Returns a copy of this datetime with the specified duration taken away. |
Duration | Returns a new duration with this length minus that specified. |
Instant | Gets a copy of this instant with the specified duration taken away. |
LocalDateTime | Returns a copy of this datetime with the specified duration taken away. |
DateMidnight | Returns a copy of this date with the specified duration added. |
DateTime | Returns a copy of this datetime with the specified duration added. |
Duration | Returns a new duration with this length plus that specified. |
Instant | Gets a copy of this instant with the specified duration added. |
LocalDateTime | Returns a copy of this datetime with the specified duration added. |
void | Sets the duration of this time interval, preserving the start instant. |
void | Sets the duration of this time interval, preserving the start instant. |
void | Sets the duration of this time interval, preserving the end instant. |
void | Sets the duration of this time interval, preserving the end instant. |
void | Sets all the fields in one go from a duration dividing the
fields using the period type. |
void | Sets all the fields in one go from a duration dividing the
fields using the period type. |
DateMidnight | Returns a copy of this date with the specified duration added. |
DateTime | Returns a copy of this datetime with the specified duration added. |
Duration | Returns a new duration with this length plus that specified multiplied by the scalar. |
Instant | Gets a copy of this instant with the specified duration added. |
LocalDateTime | Returns a copy of this datetime with the specified duration added. |
Interval | Creates a new interval with the specified duration after the start instant. |
Interval | Creates a new interval with the specified duration before the end instant. |
Classes implementing org.joda.time.ReadableDuration | |
class | AbstractDuration provides the common behaviour for duration classes. |
class | BaseDuration is an abstract implementation of ReadableDuration that stores
data in a long duration milliseconds field. |
Constructors with parameter type org.joda.time.ReadableDuration | |
Constructs an interval from a millisecond duration and an end instant. | |
Constructs an interval from a start instant and a duration. | |
Creates a period from the given duration and end point. | |
Creates a period from the given start point and duration. |
Methods with parameter type org.joda.time.ReadableDuration | |
boolean | Is the length of this duration equal to the duration passed in. |
boolean | Is the length of this duration longer than the duration passed in. |
boolean | Is the length of this duration shorter than the duration passed in. |