Class Duration

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

public class Duration extends BaseDuration
A context-independent duration: days and below, whose length is known without a datum.

DEQUIRKED: toMilliseconds(), getAgo() and getFrom() are now inherited from BaseDuration (uniform, deterministic, time-preserving); only the type-preserving arithmetic remains here.