Implementation package providing abstract and standard field classes.
Provides DateTimeField and DurationField implementations and support. Applications will only use this package directly if they want to write their own DateTimeField implementation.
Class Summary Class Description AbstractPartialFieldPropertyAbstractPartialFieldProperty is a base class for binding a ReadablePartial to a DateTimeField. AbstractReadableInstantFieldPropertyAbstractReadableInstantFieldProperty is a base class for binding a ReadableInstant to a DateTimeField. BaseDateTimeFieldBaseDateTimeField provides the common behaviour for DateTimeField implementations. BaseDurationFieldBaseDurationField provides the common behaviour for DurationField implementations. DecoratedDateTimeField
BaseDateTimeField, implementing only the minimum required set of methods.
BaseDurationField, implementing only the minimum required set of methods.
DelegatedDateTimeFielddelegates each method call to the date time field it wraps.
DelegatedDurationFielddelegates each method call to the duration field it wraps.
DividedDateTimeFieldDivides a DateTimeField such that the retrieved values are reduced by a fixed divisor. FieldUtilsGeneral utilities that don't fit elsewhere. ImpreciseDateTimeFieldAbstract datetime field class that defines its own DurationField, which delegates back into this ImpreciseDateTimeField. LenientDateTimeFieldConverts a strict DateTimeField into a lenient one. MillisDurationFieldDuration field class representing a field with a fixed unit length of one millisecond. OffsetDateTimeFieldGeneric offset adjusting datetime field. PreciseDateTimeFieldPrecise datetime field, composed of two precise duration fields. PreciseDurationDateTimeFieldPrecise datetime field, which has a precise unit duration field. PreciseDurationFieldDuration field class representing a field with a fixed unit length. RemainderDateTimeFieldCounterpart remainder datetime field to
ScaledDurationFieldScales a DurationField such that it's unit millis becomes larger in magnitude. SkipDateTimeFieldWraps another field such that a certain value is skipped. SkipUndoDateTimeFieldWraps another field such that a certain value is added back into the sequence of numbers. StrictDateTimeFieldConverts a lenient DateTimeField into a strict one. UnsupportedDateTimeFieldA placeholder implementation to use when a datetime field is not supported. UnsupportedDurationFieldA placeholder implementation to use when a duration field is not supported. ZeroIsMaxDateTimeFieldWraps another field such that zero values are replaced with one more than it's maximum.