HistoryCal - V0.0.7 Manual
7 Day Week

Home Development V0.0.7 Manual Cal. Definitions 7 Day Week

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
NumberName
wdaywsday
71Sunday
12Monday
23Tuesday
34Wednesday
45Thursday
56Friday
67Saturday

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.

The Epoch for wday is set at
 wday
1
=
jdnday
1
a Monday.
The Epoch for wsday is set at
 wsday
1
=
jdnday
0
a Sunday.

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.


Valid XHTML 1.0 Strict

27th October 2014