OpenersNotesSection(Spacer1)Details

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Interpret days of the week:

Interpreter["DayOfWeek"]["Monday"]

Interpreter["DayOfWeek"]["thurs."]

Restrict to a selection of days:

Interpreter[Restricted["DayOfWeek",{{Monday,Wednesday,Friday}}]]["Fri"]

Interpreter[Restricted["DayOfWeek",{{Monday,Wednesday,Friday}}]]["Thu"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Interpreter, paclet:ref/Interpreter])  ▪  (RefLink[Restricted, paclet:ref/Restricted])  ▪  (RefLink[Failure, paclet:ref/Failure])  ▪  (RefLink[Monday, paclet:ref/Monday])  ▪  (RefLink[Tuesday, paclet:ref/Tuesday])  ▪  (RefLink[Wednesday, paclet:ref/Wednesday])  ▪  (RefLink[Thursday, paclet:ref/Thursday])  ▪  (RefLink[Friday, paclet:ref/Friday])  ▪  (RefLink[Saturday, paclet:ref/Saturday])  ▪  (RefLink[Sunday, paclet:ref/Sunday])}, {Related Interpreter Types:  (RefLink[Time, paclet:ref/interpreter/Time])  ▪  (RefLink[Date, paclet:ref/interpreter/Date])  ▪  (RefLink[DateTime, paclet:ref/interpreter/DateTime])  ▪  (RefLink[TimeZone, paclet:ref/interpreter/TimeZone])  ▪  (RefLink[UnixTime, paclet:ref/interpreter/UnixTime])  ▪  (RefLink[StructuredTime, paclet:ref/interpreter/StructuredTime])  ▪  (RefLink[ComputedTime, paclet:ref/interpreter/ComputedTime])  ▪  (RefLink[StructuredDate, paclet:ref/interpreter/StructuredDate])  ▪  (RefLink[ComputedDate, paclet:ref/interpreter/ComputedDate])  ▪  (RefLink[StructuredDateTime, paclet:ref/interpreter/StructuredDateTime])  ▪  (RefLink[ComputedDateTime, paclet:ref/interpreter/ComputedDateTime])  ▪  (RefLink[ComputedTimeZone, paclet:ref/interpreter/ComputedTimeZone])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Setting Up Input Interpreters, paclet:guide/InterpretingStrings])}})}})