Package groovy.time

Class TimeDatumDependentDuration

All Implemented Interfaces:
Comparable<BaseDuration>

@Deprecated public class TimeDatumDependentDuration extends DatumDependentDuration
Deprecated.
Superseded by org.apache.groovy.dateutil.TimeDatumDependentDuration (the dequirked java.util.Date flavor) or the java.time DSL in org.apache.groovy.datetime.TimeCategory. This legacy class is retained, unchanged, for backward compatibility.
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)
      Deprecated.
      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