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

DayPart

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

Defines targeting for a period of time on a specific week day.

interface DayPart {
dayOfWeek?:
| "DAY_OF_WEEK_UNSPECIFIED"
| "MONDAY"
| "TUESDAY"
| "WEDNESDAY"
| "THURSDAY"
| "FRIDAY"
| "SATURDAY"
| "SUNDAY";
endTime?: TimeOfDay;
startTime?: TimeOfDay;
}

§Properties

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

Day of week for the period.

§
endTime?: TimeOfDay
[src]

Hours in 24 hour time between 0 and 24, inclusive. Note: 24 is logically equivalent to 0, but is supported since in some cases there may need to be differentiation made between midnight on one day and midnight on the next day. Accepted values for minutes are [0, 15, 30, 45]. 0 is the only acceptable minute value for hour 24. Seconds and nanos are ignored.

§
startTime?: TimeOfDay
[src]

Hours in 24 hour time between 0 and 24, inclusive. Note: 24 is logically equivalent to 0, but is supported since in some cases there may need to be differentiation made between midnight on one day and midnight on the next day. Accepted values for minutes are [0, 15, 30, 45]. 0 is the only acceptable minute value for hour 24. Seconds and nanos are ignored.