2.20 Day of Week

A day of the week represents the days Monday through Sunday.

If providing a list of days, then we allow the following shorthand expressions:

  • ALL: A list comprised of all days of the week.
  • WORKDAYS: A list of Monday to Friday inclusive.
  • WEEKDAYS: A list of Monday to Friday inclusive.
  • WEEKEND: Saturday and Sunday.
  • <START>-<END>: A list of days from START to END inclusive. For example, Tuesday - Thursday would be Tuesday, Wednesday and Thursday.
  • <START>-<END>; <START>-<END>; …: A semicolon separated list of ranges. For example, Tuesday - Thursday; Friday - Saturday or Tuesday - Thursday; Saturday.

For example, the following are all equivalent:

  • WORKDAYS or WEEKDAYS
  • Monday - Friday
  • [Monday, Tuesday, Wednesday, Thursday, Friday]
  • [Monday - Wednesday; Thursday - Friday]

2.20.1 Allowed Day Abbreviations

The following are allowed abbreviations for the days:

Table 6: Allowed Day Abbreviations
Day of Week Allowed Abbreviations
Monday M, MO, MON
Tuesday TU, TUE, TUES
Wednesday W, WE, WED, WEDS
Thursday TH, THU, THUR, THURS
Friday F, FR, FRI
Saturday SA, SAT
Sunday SU, SUN

Note that lower case abbreviations are also accepted.

For example, the following are all equivalent:

  • WORKDAYS
  • MO - FR
  • MON - FRI
  • Mon - Fri
  • Monday - Friday