Represents a Time property. The time has no notion of time zone.

interface Time {
    hours: number;
    milliseconds: number;
    minutes: number;
    seconds: number;
    totalMilliseconds: number;
    totalMinutes: number;
    totalSeconds: number;
}

Properties

hours: number

The total number of hours since midnight.

milliseconds: number

The millisecond part of the instance.

minutes: number

The minute part of the instance.

seconds: number

The second part of the instance.

totalMilliseconds: number

The total number of milliseconds since midnight.

totalMinutes: number

The total number of minutes since midnight.

totalSeconds: number

The total number of seconds since midnight.