Calendar Description
The 7 day week is a cyclic calendar with no major count and so can only be used in conjunction with other calendars.
Use Case
Thought to have originated in ancient Babylonia around 600 BCE. It is used with the Julian, Gregorian, Hebrew, Islamic and other calendars.
There are more than one way of numbering the week days. If the scheme only uses text names for the week days, any numbering system can be used since they will not normally be visible. However, some calendars routinely use the weekday number (i.e. ISO, Hebrew and Islamic calendars) and so the numbering system can be selected depending on the optional field specified.
The Julian, Gregorian and variants use the wday
field.
The Hebrew, Islamic and variants use the wsday
field.
Definition
Record |
---|
wday |
Record |
---|
wsday |
Number | Name | |
---|---|---|
wday | wsday | |
7 | 1 | Sunday |
1 | 2 | Monday |
2 | 3 | Tuesday |
3 | 4 | Wednesday |
4 | 5 | Thursday |
5 | 6 | Friday |
6 | 7 | Saturday |
The weekday is implemented by using an Optional Field,
wday
for weeks beginning Monday or
wsday
for weeks beginning Sunday.
Only one of these Optional Fields should be used in any given scheme.
wday
is set at
wday | |
---|---|
1 |
jdn | day |
---|---|
0 |
wsday
is set at
wsday | |
---|---|
1 |
jdn | day |
---|---|
6 |
Script
Default Script |
---|
vocab w { name "Weekday names"; fieldname wday; lang en; stylename Weekday, WDay; tokens { 1, "Monday", "Mon"; 2, "Tuesday", "Tue"; 3, "Wednesday", "Wed"; 4, "Thursday", "Thur"; 5, "Friday", "Fri"; 6, "Saturday", "Sat"; 7, "Sunday", "Sun"; } } vocab ws { name "Weekday names"; fieldname wsday; lang en; stylename Weekday, WDay; tokens { 1, "Sunday", "Sun"; 2, "Monday", "Mon"; 3, "Tuesday", "Tue"; 4, "Wednesday", "Wed"; 5, "Thursday", "Thur"; 6, "Friday", "Fri"; 7, "Saturday", "Sat"; } } |
The script has no dependencies.