Represents a period of time.

interface Period {
    number: number;
    unit: PeriodUnit;
}

Properties

Properties

number: number

The number of units in the period.

The unit of time.