Class DatumDependentDuration

java.lang.Object
org.apache.groovy.dateutil.BaseDuration
org.apache.groovy.dateutil.DatumDependentDuration
All Implemented Interfaces:
Comparable<BaseDuration>
Direct Known Subclasses:
TimeDatumDependentDuration

public class DatumDependentDuration extends BaseDuration
A duration that includes years and/or months, whose exact length depends on the datum.

DEQUIRKED: toMilliseconds() is now deterministic (see BaseDuration); it no longer resolves against "now". getAgo()/getFrom() are inherited and no longer zero the time-of-day.