SchemaDayOfWeek enum
//purl.org/goodrelations/v1) were used (for [Monday
],
[Tuesday
], [Wednesday
], [Thursday
], [Friday
],
[Saturday
], [Sunday
] plus a special entry for
[PublicHolidays
]); these have now been integrated directly
into schema.org.
See https://schema.org/DayOfWeek
Values
- friday → const SchemaDayOfWeek
-
The day of the week between Thursday and Saturday.
const SchemaDayOfWeek('https://schema.org/DayOfWeek')
- monday → const SchemaDayOfWeek
-
The day of the week between Sunday and Tuesday.
const SchemaDayOfWeek('https://schema.org/DayOfWeek')
- publicHolidays → const SchemaDayOfWeek
-
This stands for any day that is a public holiday; it is a placeholder for all official public holidays in some particular location While not technically a "day of the week", it can be used with [
OpeningHoursSpecification
] In the context of an opening hours specification it can be used to indicate opening hours on public holidays, overriding general opening hours for the day of the week on which a public holiday occurs.const SchemaDayOfWeek('https://schema.org/DayOfWeek')
- saturday → const SchemaDayOfWeek
-
The day of the week between Friday and Sunday.
const SchemaDayOfWeek('https://schema.org/DayOfWeek')
- sunday → const SchemaDayOfWeek
-
The day of the week between Saturday and Monday.
const SchemaDayOfWeek('https://schema.org/DayOfWeek')
- thursday → const SchemaDayOfWeek
-
The day of the week between Wednesday and Friday.
const SchemaDayOfWeek('https://schema.org/DayOfWeek')
- tuesday → const SchemaDayOfWeek
-
The day of the week between Monday and Wednesday.
const SchemaDayOfWeek('https://schema.org/DayOfWeek')
- wednesday → const SchemaDayOfWeek
-
The day of the week between Tuesday and Thursday.
const SchemaDayOfWeek('https://schema.org/DayOfWeek')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
Enum value as a string
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJsonLd(
) → String - Serialize SchemaDayOfWeek to JSON-LD
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
SchemaDayOfWeek> - A constant List of the values in this enum, in order of their declaration.