DateTimeInterval Constructor

Initializes a new instance of the DateTimeInterval type.
 

Parameters

size

Type: Number
The size of the interval.
type

Type: DateTimeIntervalType
The type of the interval.