I don't know how many days in a year unless I know if it's a leap year or not.
I don't know how many days in a month unless I know the name of the month (and if it's a leap year if the month is February)
| Access | Constructor and Description |
|---|---|
| public | DatumDependentDuration(final int years, final int months, final int days, final int hours, final int minutes, final int seconds, final int millis)
|
| Modifier and Type | Method and Description |
|---|---|
| public Date | |
| public BaseDuration. | |
| public int | |
| public int | |
| public DatumDependentDuration | |
| public DatumDependentDuration | |
| public DatumDependentDuration | |
| public DatumDependentDuration | |
| public DatumDependentDuration | |
| public DatumDependentDuration | |
| public long |
| DatumDependentDuration | back to summary |
|---|---|
| public DatumDependentDuration(final int years, final int months, final int days, final int hours, final int minutes, final int seconds, final int millis) | |
| getAgo | back to summary |
|---|---|
| public Date getAgo() Implements abstract groovy. | |
| getFrom | back to summary |
|---|---|
| public BaseDuration. Implements abstract groovy. | |
| getMonths | back to summary |
|---|---|
| public int getMonths() Overrides groovy. | |
| getYears | back to summary |
|---|---|
| public int getYears() Overrides groovy. | |
| minus | back to summary |
|---|---|
| public DatumDependentDuration minus(final DatumDependentDuration rhs) | |
| minus | back to summary |
|---|---|
| public DatumDependentDuration minus(final Duration rhs) | |
| plus | back to summary |
|---|---|
| public DatumDependentDuration plus(final DatumDependentDuration rhs) | |
| plus | back to summary |
|---|---|
| public DatumDependentDuration plus(final TimeDatumDependentDuration rhs) | |
| plus | back to summary |
|---|---|
| public DatumDependentDuration plus(final Duration rhs) | |
| plus | back to summary |
|---|---|
| public DatumDependentDuration plus(final TimeDuration rhs) | |
| toMilliseconds | back to summary |
|---|---|
| public long toMilliseconds() Implements abstract groovy. | |