Interval
An object that combines two dates to represent the time interval.
interface Interval <DateType extends Date = Date> {
end: DateType | number | string;
start: DateType | number | string;
}An object that combines two dates to represent the time interval.