HistoryCal - Definition
eng# English Hybrid
Home Calendars Calendar List eng

Calendar Description

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

Use Case

Definition

Scheme Names
CalendarStartFinishNotes
jaJulian Annunciationpast31 Dec 1751Year 1751 is 282 days long
jJulian1 Jan 17522 Sep 1752
gGregorian14 Sep 1752futureYear 1752 is 355 days long
Record
schemeyearmonthdaywdayunshift

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
vocab jajg { name "Scheme names"; fieldname scheme; lang en; stylename Scheme, Sch; tokens { 0, "Julian Ann", "ja"; 1, "Julian", "j"; 2, "Gregorian", "g"; } } grammar hy { optional unshift, wday; vocabs w, m, jajg; alias field { WDay, wday; Day, day; Month, month; Year, year; "Hist-Year", unshift; Scheme, scheme; } alias stylename { WDay, w; Day, dd; Month, mm; Year, yyyy; "Hist-Year", y; Scheme, s; } format dmyh, "(Day) |(Month:m.a) |(Year/Hist-Year)"; format dmy, "(Day) |(Month:m.a) |(Year)"; format dmys, "(Day) |(Month:m.a) |(Year) |(Scheme:jajg.a)"; format wdmyh, "(WDay:w.a) |(Day) |(Month:m.a) |(Year/Hist-Year)"; format wdmyhs,"(WDay:w.a) |(Day) |(Month:m.a) |(Year/Hist-Year) |(Scheme:jajg)"; pref dmyh; } scheme eng { name "English Hybrid"; hybrid { fields year, month, day; scheme ja; change 2360976; // j# 1 Jan 1752 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 "hy" grammar uses the "m" (Julian months) and "w" (Weekdays) vocabs.

Home Calendars Calendar List eng

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

28th March 2014