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

DateTimeRange

import type { DateTimeRange } from "https://aws-api.deno.dev/v0.4/services/health.ts?docs=full";

A range of dates and times that is used by the EventFilter and EntityFilter objects. If from is set and to is set: match items where the timestamp (startTime, endTime, or lastUpdatedTime) is between from and to inclusive. If from is set and to is not set: match items where the timestamp value is equal to or after from. If from is not set and to is set: match items where the timestamp value is equal to or before to.

interface DateTimeRange {
from?: Date | number | null;
to?: Date | number | null;
}

§Properties

§
from?: Date | number | null
[src]

The starting date and time of a time range.

§
to?: Date | number | null
[src]

The ending date and time of a time range.