Package org.joda.time.base
package org.joda.time.base
Implementation package providing abstract and base time classes.
Provides abstract implementations of the Readable* interfaces. The Abstract* classes hold no fields and have no final methods. They can be used by anyone wanting to implement the interface. The Base* classes extend the Abstract* classes to provide fields for the standard way to implement the class.
If you intend to implement a Readable* interface yourself, please consider extending either the Abstract* or Base* class in this package.
-
ClassesClassDescriptionAbstractDateTime provides the common behaviour for datetime classes.AbstractDuration provides the common behaviour for duration classes.AbstractInstant provides the common behaviour for instant classes.AbstractInterval provides the common behaviour for time intervals.AbstractPartial provides a standard base implementation of most methods in the ReadablePartial interface.AbstractPeriod provides the common behaviour for period classes.BaseDateTime is an abstract implementation of ReadableDateTime that stores data in
long
andChronology
fields.BaseDuration is an abstract implementation of ReadableDuration that stores data in along
duration milliseconds field.BaseInterval is an abstract implementation of ReadableInterval that stores data in twolong
millisecond fields.BaseLocal is an abstract implementation of ReadablePartial that use a local milliseconds internal representation.BasePartial is an abstract implementation of ReadablePartial that stores data in array andChronology
fields.BasePeriod is an abstract implementation of ReadablePeriod that stores data in aPeriodType
and anint[]
.BaseSingleFieldPeriod is an abstract implementation of ReadablePeriod that manages a single duration field, such as days or minutes.