Skip to main content

An enumerated type that defines the values that represent the period of time being used.

Type that uses TimeDurationUnitEnum

TimeDuration

Calls that use TimeDurationUnitEnum

Enumerations

Value
Description
YEAR
Indicates the time duration is based on the number of years.
MONTH
Indicates the time duration is based on the number of months.
DAY
Indicates the time duration is based on the number of days.
HOUR
Indicates the time duration is based on the number of hours.
CALENDAR_DAY
Indicates the time duration is based on the calendar, meaning Sunday through Saturday and does not exclude holidays.
BUSINESS_DAY
Indicates the time duration is based on the number of business days, meaning "working days". So it excludes all holidays for the location and in some locations can include Saturday.
MINUTE
Indicates the time duration is based on the number of minutes.
SECOND
Indicates the time duration is based on the number of seconds.
MILLISECOND
Indicates the time duration is based on the number of milliseconds.

Got thoughts? Click the feedback button – your insights help us improve!