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

ObservationTimeInterval

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

Represents a time interval of an observed data point.

interface ObservationTimeInterval {
readonly civilEndTime?: CivilDateTime;
readonly civilStartTime?: CivilDateTime;
endTime?: Date;
endUtcOffset?: number;
startTime?: Date;
startUtcOffset?: number;
}

§Properties

§
readonly civilEndTime?: CivilDateTime
[src]

Output only. Observed interval end time in civil time in the timezone the subject is in at the end of the observed interval

§
readonly civilStartTime?: CivilDateTime
[src]

Output only. Observed interval start time in civil time in the timezone the subject is in at the start of the observed interval

§
endTime?: Date
[src]

Required. Observed interval end time.

§
endUtcOffset?: number
[src]

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

§
startTime?: Date
[src]

Required. Observed interval start time.

§
startUtcOffset?: number
[src]

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