共用方式為


DayOfWeek type

定義 DayOfWeek 的值。

type DayOfWeek =
  | "Monday"
  | "Tuesday"
  | "Wednesday"
  | "Thursday"
  | "Friday"
  | "Saturday"
  | "Sunday"
  | "Everyday"
  | "Weekend"