[Java] Class TimeDatumDependentDuration
- groovy.time.TimeDatumDependentDuration
public class TimeDatumDependentDuration
extends DatumDependentDuration
TimeDatumDuration represents a time period which results from an arithmetic operation between a TimeDuration object and a DatumDuration object
Constructor Summary
Constructors
| Constructor and description |
TimeDatumDependentDuration
(int years, int months, int days, int hours, int minutes, int seconds, int millis)
|
Methods Summary
Inherited Methods Summary
Inherited Methods
| Methods inherited from class | Name |
class DatumDependentDuration | getAgo, getFrom, getMonths, getNow, getYears, minus, minus, plus, plus, plus, plus, toMilliseconds |
class BaseDuration | compareTo, getAgo, getDays, getFrom, getHours, getMillis, getMinutes, getMonths, getSeconds, getYears, plus, toMilliseconds, toString |
Constructor Detail
public TimeDatumDependentDuration(int years, int months, int days, int hours, int minutes, int seconds, int millis)
Method Detail
public Date getNow()