IntervalValue

IntervalValue(arg)

Attributes

Name Description
days The number of days (IntegerValue).
hours The number of hours (IntegerValue).
microseconds The number of microseconds (IntegerValue).
milliseconds The number of milliseconds (IntegerValue).
minutes The number of minutes (IntegerValue).
months The number of months (IntegerValue).
nanoseconds The number of nanoseconds (IntegerValue).
quarters The number of quarters (IntegerValue).
seconds The number of seconds (IntegerValue).
weeks The number of weeks (IntegerValue).
years The number of years (IntegerValue).

Methods

Name Description
as_unit Convert this interval to units of target_unit.
negate Negate an interval expression.

as_unit

as_unit(target_unit)

Convert this interval to units of target_unit.

negate

negate()

Negate an interval expression.

Returns

Name Type Description
IntervalValue A negated interval value expression