The TAG's API Design Principles suggests using the DOMTimeStamp type when representing dates and times with values being the number of milliseconds relative to 1970-01-01T00:00:00Z.
There are a few places in the TV Control API that use dates and times, such as the startTime and endTime attributes in TVProgram, TVRecording, TVGetProgramsOptions, and TVAddRecordingOptions. These currently use unsigned long long, so should be changed to DOMTimeStamp (although DOMTimeStamp itself is a typedef for unsigned long long).
The TAG's API Design Principles suggests using the
DOMTimeStamp
type when representing dates and times with values being the number of milliseconds relative to 1970-01-01T00:00:00Z.There are a few places in the TV Control API that use dates and times, such as the
startTime
andendTime
attributes inTVProgram
,TVRecording
,TVGetProgramsOptions
, andTVAddRecordingOptions
. These currently useunsigned long long
, so should be changed toDOMTimeStamp
(althoughDOMTimeStamp
itself is a typedef forunsigned long long
).