browse APIv1_beta.21.0

TimeDuration

The type that defines the fields for a period of time in the time-measurement units supplied.

Type that uses TimeDuration

Calls that use TimeDuration

Fields

Field
Type
Description
unit
An enumeration value that indicates the units (such as hours) of the time span. The enumeration value in this field defines the period of time being used to measure the duration, such as business days, months, or years. See the TimeDurationUnitEnum type for a list of possible time-measuring units.
value
Retrieves the duration of the time span (no units).The value in this field indicates the number of years, months, days, hours, or minutes in the defined period.