Duration

Stay organized with collections Save and categorize content based on your preferences.

Describes the length of a period of a time.

JSON representation
{
  "unit": enum (Unit),
  "count": integer
}
Fields
unit

enum (Unit)

The unit used for the duration

count

integer

number of duration units to be included.

Unit

Frequency of the period.

Enums
UNIT_UNSPECIFIED Default value.
MONTH Unit of a calendar month.
DAY Unit of a day.