- <init>
Initializes a new instance of Duration from a specified number of days, hours,
minutes, and seconds.
- add
Adds two specified Duration instances.
- compareTo
Compares this instance with another instance of the same type.
- divide
Divides the Duration by another duration.
- equalsType
Returns true if this Duration exactly equals another Duration, within the limits
of floating point p
- fromDays
Returns a Duration that represents the specified number of days.
- fromSeconds
Returns a Duration that represents the specified number of seconds.
- getDays
Gets the day component of this Duration.
- getSeconds
Gets the seconds component of this Duration. This is the number of seconds
represented by this Durat
- getTotalSeconds
Gets the total number of seconds represented by this Duration, including the
seconds that compose th
- multiply
Multiplies the Duration by a constant.
- subtract
Subtracts a specified Duration from another specified Duration.