Skip to main content

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

Types that use TimeDurationUnitEnum

ItemItemSnapshot

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.