Package groovy.time
Class BaseDuration.From
java.lang.Object
groovy.time.BaseDuration.From
- Enclosing class:
- BaseDuration
Helper for computing dates relative to the current time.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
From
public From()
-
-
Method Details
-
getNow
Returns the computed date relative to now.- Returns:
- the computed date
-
getToday
Returns the computed date relative to today.- Returns:
- the computed date
-