HistoryCal - V0.0.7 Manual
scot# Scottish Hybrid
Home Development V0.0.7 Manual Cal. Definitions scot

Calendar Description

The Scottish Hybrid calendar is a hybrid variant combining the Julian Annunciation, the Julian and the Gregorian calendars.

Use Case

Definition

Record
schemeyearmonthdaywdayunshift
Historic Era
CalendarStartFinishNotes
jaJulian Annunciationpast31 Dec 1599Year 1599 is 282 days long
jJulian1 Jan 16002 Sep 1752
gGregorian14 Sep 1752futureYear 1752 is 355 days long

The Record consists of four Fields named scheme, year, month, and day and two read only Fields wday, and unshift. The unshift field holds the historical year as calculated by the underlying Julian calendar.

As a Hybrid calendar, it has no single epoch.

Script

Default Script
scheme scot { name "Scottish Hybrid"; hybrid { fields year, month, day; scheme ja; change 2305458; // j# 1 Jan 1600 scheme j; change 2361222; // g# 14 Sep 1752 scheme g; } grammar hy; }

The script makes use of the globally available read-only field wday to output weekdays.

The calendar uses the "hy" grammar as defined for the English Hybrid calendar.

Home Development V0.0.7 Manual Cal. Definitions scot

Managed by WebPageLayout Validated by HTML Validator (based on Tidy)

27th March 2015