Package: groovy.time

## [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

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class BaseDuration` | `days, hours, millis, minutes, months, seconds, years`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `TimeDatumDependentDuration(int years, int months, int days, int hours, int minutes, int seconds, int millis)` Creates a mixed time and datum-dependent duration.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public From` | `getFrom()` Returns a helper for computing dates relative to now.
    `` | `public DatumDependentDuration` | `minus(Duration rhs)` Subtracts a fixed duration.
    `` | `public DatumDependentDuration` | `minus(DatumDependentDuration rhs)` Subtracts a datum-dependent duration.
    `` | `public DatumDependentDuration` | `plus(Duration rhs)` Adds a fixed duration.
    `` | `public DatumDependentDuration` | `plus(DatumDependentDuration rhs)` Adds a datum-dependent duration.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class DatumDependentDuration` | `getAgo, getFrom, getMonths, 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)

      Creates a mixed time and datum-dependent duration.

      Parameters:
        `years` - the year component
        `months` - the month component
        `days` - the day component
        `hours` - the hour component
        `minutes` - the minute component
        `seconds` - the second component
        `millis` - the millisecond component

  - ### Method Detail

    - #### public From getFrom()

      Returns a helper for computing dates relative to now.

      Returns:
        the relative-date helper

    - #### public DatumDependentDuration minus(Duration rhs)

      Subtracts a fixed duration.

      Parameters:
        `rhs` - the duration to subtract
      Returns:
        the resulting duration

    - #### public DatumDependentDuration minus(DatumDependentDuration rhs)

      Subtracts a datum-dependent duration.

      Parameters:
        `rhs` - the duration to subtract
      Returns:
        the resulting duration

    - #### public DatumDependentDuration plus(Duration rhs)

      Adds a fixed duration.

      Parameters:
        `rhs` - the duration to add
      Returns:
        the combined duration

    - #### public DatumDependentDuration plus(DatumDependentDuration rhs)

      Adds a datum-dependent duration.

      Parameters:
        `rhs` - the duration to add
      Returns:
        the combined duration