Package groovy.time
Class TimeDatumDependentDuration
java.lang.Object
groovy.time.BaseDuration
groovy.time.DatumDependentDuration
groovy.time.TimeDatumDependentDuration
- All Implemented Interfaces:
Comparable<BaseDuration>
TimeDatumDuration represents a time period which results from an
arithmetic operation between a TimeDuration object and a DatumDuration object
- Author:
- John Wilson tug@wilson.co.uk
-
Nested Class Summary
Nested classes/interfaces inherited from class groovy.time.BaseDuration
BaseDuration.From
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTimeDatumDependentDuration
(int years, int months, int days, int hours, int minutes, int seconds, int millis) -
Method Summary
Methods inherited from class groovy.time.DatumDependentDuration
getAgo, getMonths, getYears, plus, plus, toMilliseconds
Methods inherited from class groovy.time.BaseDuration
compareTo, getDays, getHours, getMillis, getMinutes, getSeconds, plus, toString
-
Constructor Details
-
TimeDatumDependentDuration
public TimeDatumDependentDuration(int years, int months, int days, int hours, int minutes, int seconds, int millis)
-
-
Method Details
-
plus
- Overrides:
plus
in classDatumDependentDuration
-
plus
- Overrides:
plus
in classDatumDependentDuration
-
minus
- Overrides:
minus
in classDatumDependentDuration
-
minus
- Overrides:
minus
in classDatumDependentDuration
-
getFrom
- Overrides:
getFrom
in classDatumDependentDuration
-