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

TimePeriod

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

Represents a span of time that the business is open, starting on the specified open day/time and closing on the specified close day/time. The closing time must occur after the opening time, for example later in the same day, or on a subsequent day.

interface TimePeriod {
closeDay?:
| "DAY_OF_WEEK_UNSPECIFIED"
| "MONDAY"
| "TUESDAY"
| "WEDNESDAY"
| "THURSDAY"
| "FRIDAY"
| "SATURDAY"
| "SUNDAY";
closeTime?: TimeOfDay;
openDay?:
| "DAY_OF_WEEK_UNSPECIFIED"
| "MONDAY"
| "TUESDAY"
| "WEDNESDAY"
| "THURSDAY"
| "FRIDAY"
| "SATURDAY"
| "SUNDAY";
openTime?: TimeOfDay;
}

§Properties

§
closeDay?: "DAY_OF_WEEK_UNSPECIFIED" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"
[src]

Required. Indicates the day of the week this period ends on.

§
closeTime?: TimeOfDay
[src]

Required. Valid values are 00:00-24:00, where 24:00 represents midnight at the end of the specified day field.

§
openDay?: "DAY_OF_WEEK_UNSPECIFIED" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"
[src]

Required. Indicates the day of the week this period starts on.

§
openTime?: TimeOfDay
[src]

Required. Valid values are 00:00-24:00, where 24:00 represents midnight at the end of the specified day field.