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

WeekDayOfMonth

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

Represents one week day in a month. An example is "the 4th Sunday".

interface WeekDayOfMonth {
dayOffset?: number;
dayOfWeek?:
| "DAY_OF_WEEK_UNSPECIFIED"
| "MONDAY"
| "TUESDAY"
| "WEDNESDAY"
| "THURSDAY"
| "FRIDAY"
| "SATURDAY"
| "SUNDAY";
weekOrdinal?: number;
}

§Properties

§
dayOffset?: number
[src]

Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if week_ordinal and day_of_week values point to the second Tuesday of the month and the day_offset value is set to 3, patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, patches are deployed five days before the second Tuesday of the month. Allowed values are in range [-30, 30].

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

Required. A day of the week.

§
weekOrdinal?: number
[src]

Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.