This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

java.time.Duration

class java.time.Duration extends java.lang.Object, java.time.temporal.TemporalAmount, java.lang.Comparable, java.io.Serializable

Method Inventory

Parameters

parameter IMPORTTIMESTAMP = 1969-12-31 16:00:00.0;
parameter ZERO = PT0S;

Methods

method abs() as %ObjectHandle
method addTo(ByRef p0 As %ObjectHandle) as %ObjectHandle
classmethod between(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle, ByRef p2 As %ObjectHandle) as %ObjectHandle
method compareTo(ByRef p0 As %ObjectHandle) as %ObjectHandle
method dividedBy(ByRef p0 As %ObjectHandle) as %ObjectHandle
method equals(ByRef p0 As %ObjectHandle) as %ObjectHandle
classmethod from(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
method get(ByRef p0 As %ObjectHandle) as %ObjectHandle
method getNano() as %ObjectHandle
method getSeconds() as %ObjectHandle
method getUnits() as %ObjectHandle
method hashCode() as %ObjectHandle
method isNegative() as %ObjectHandle
method isZero() as %ObjectHandle
method minus(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
method minusDays(ByRef p0 As %ObjectHandle) as %ObjectHandle
method minusHours(ByRef p0 As %ObjectHandle) as %ObjectHandle
method minusMillis(ByRef p0 As %ObjectHandle) as %ObjectHandle
method minusMinutes(ByRef p0 As %ObjectHandle) as %ObjectHandle
method minusNanos(ByRef p0 As %ObjectHandle) as %ObjectHandle
method minusSeconds(ByRef p0 As %ObjectHandle) as %ObjectHandle
method multipliedBy(ByRef p0 As %ObjectHandle) as %ObjectHandle
method negated() as %ObjectHandle
classmethod of(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle, ByRef p2 As %ObjectHandle) as %ObjectHandle
classmethod ofDays(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
classmethod ofHours(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
classmethod ofMillis(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
classmethod ofMinutes(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
classmethod ofNanos(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
classmethod ofSeconds(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle, ByRef p2 As %ObjectHandle) as %ObjectHandle
classmethod parse(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
method plus(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
method plusDays(ByRef p0 As %ObjectHandle) as %ObjectHandle
method plusHours(ByRef p0 As %ObjectHandle) as %ObjectHandle
method plusMillis(ByRef p0 As %ObjectHandle) as %ObjectHandle
method plusMinutes(ByRef p0 As %ObjectHandle) as %ObjectHandle
method plusNanos(ByRef p0 As %ObjectHandle) as %ObjectHandle
method plusSeconds(ByRef p0 As %ObjectHandle) as %ObjectHandle
method subtractFrom(ByRef p0 As %ObjectHandle) as %ObjectHandle
method toDays() as %ObjectHandle
method toHours() as %ObjectHandle
method toMillis() as %ObjectHandle
method toMinutes() as %ObjectHandle
method toNanos() as %ObjectHandle
method toString() as %ObjectHandle
method withNanos(ByRef p0 As %ObjectHandle) as %ObjectHandle
method withSeconds(ByRef p0 As %ObjectHandle) as %ObjectHandle

Inherited Members

Inherited Properties

Inherited Methods

Feedback