Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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;
}

§Type Parameters

§
DateType extends Date = Date
[src]

§Properties

§
end: DateType | number | string
[src]

The end of the interval.

§
start: DateType | number | string
[src]

The start of the interval.