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

OutOfBedSegment

import type { OutOfBedSegment } from "https://googleapis.deno.dev/v1/health:v4.ts";

A time interval to represent an out-of-bed segment.

interface OutOfBedSegment {
endTime?: Date;
endUtcOffset?: number;
startTime?: Date;
startUtcOffset?: number;
}

§Properties

§
endTime?: Date
[src]

Required. Segment end time.

§
endUtcOffset?: number
[src]

Required. The offset of the user's local time at the end of the segment relative to the Coordinated Universal Time (UTC).

§
startTime?: Date
[src]

Required. Segment tart time.

§
startUtcOffset?: number
[src]

Required. The offset of the user's local time at the start of the segment relative to the Coordinated Universal Time (UTC).