Package groovy.time
Class TimeDatumDependentDuration
- java.lang.Object
-
- groovy.time.BaseDuration
-
- groovy.time.DatumDependentDuration
-
- groovy.time.TimeDatumDependentDuration
-
- All Implemented Interfaces:
Comparable<BaseDuration>
public class TimeDatumDependentDuration extends DatumDependentDuration
TimeDatumDuration represents a time period which results from an arithmetic operation between a TimeDuration object and a DatumDuration object
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class groovy.time.BaseDuration
BaseDuration.From
-
-
Constructor Summary
Constructors Constructor Description TimeDatumDependentDuration(int years, int months, int days, int hours, int minutes, int seconds, int millis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseDuration.From
getFrom()
DatumDependentDuration
minus(DatumDependentDuration rhs)
DatumDependentDuration
minus(Duration rhs)
DatumDependentDuration
plus(DatumDependentDuration rhs)
DatumDependentDuration
plus(Duration rhs)
-
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
-
-
-
-
Method Detail
-
plus
public DatumDependentDuration plus(Duration rhs)
- Overrides:
plus
in classDatumDependentDuration
-
plus
public DatumDependentDuration plus(DatumDependentDuration rhs)
- Overrides:
plus
in classDatumDependentDuration
-
minus
public DatumDependentDuration minus(Duration rhs)
- Overrides:
minus
in classDatumDependentDuration
-
minus
public DatumDependentDuration minus(DatumDependentDuration rhs)
- Overrides:
minus
in classDatumDependentDuration
-
getFrom
public BaseDuration.From getFrom()
- Overrides:
getFrom
in classDatumDependentDuration
-
-