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

FlexibleTimeRange

import type { FlexibleTimeRange } from "https://googleapis.deno.dev/v1/compute:v1.ts";

A flexible specification of a time range that has 3 points of flexibility: (1) a flexible start time, (2) a flexible end time, (3) a flexible duration. It is possible to specify a contradictory time range that cannot be matched by any Interval. This causes a validation error.

interface FlexibleTimeRange {
maxDuration?: number;
minDuration?: number;
startTimeNotEarlierThan?: Date;
startTimeNotLaterThan?: Date;
}

§Properties

§
maxDuration?: number
[src]
§
minDuration?: number
[src]
§
startTimeNotEarlierThan?: Date
[src]
§
startTimeNotLaterThan?: Date
[src]