Package groovy.time

Class 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
  • Constructor Details

    • TimeDatumDependentDuration

      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 Details