|
Groovy Documentation | |||||||
PREV NEXT | FRAMES NO FRAMES |
Class Summary | |
---|---|
BaseDuration | Base class for date and time durations. |
BaseDuration.From | |
DatumDependentDuration | DatumDependentDuration represents durations whose length in milliseconds cannot be determined without knowing the datum point. |
Duration | |
TimeCategory | Apply a number of methods to allow convenient Date/Time manipulation,such as:
use ( TimeCategory ) { // application on numbers: println 1.minute.from.now println 10.hours.ago // application on dates def someDate = new Date() println someDate - 3.months } |
TimeDatumDependentDuration | TimeDatumDuration represents a time period which results from an arithmetic operation between a TimeDuration object and a DatumDuration object |
TimeDuration |
Groovy Documentation