HistoryCal - V0.0.7 Manual
j# Julian
Home Development V0.0.7 Manual Cal. Definitions j

Calendar Description

This Julian calendar is the simplest possible interpretation of the calendar introduced by Julius Caesar, amended by Augustus Caesar and using the Current Era (also known as Common Era or Christian Era) year count. This version is also known as Julian Astronomical calendar as it is the version generally used by astronomers. The year change is the 1st January, the year zero is included, years before year zero are given as negative. There is no attempt to allow for the irregular leap years that occurred when the calendar was first introduced.

Use Case

The Julian calendar has been used throughout Europe and the European colonies since its introduction by Julius Caesar, but in many different variants. In this form, some of its known uses are:

Definition

Record
yearmonthdaywday
NumberNameNumber of Days
CommonLeap
1January3131
2February2829
3March3131
4April3030
5May3131
6June3030
7July3131
8August3131
9September3030
10October3131
11November3030
12December3131

The Julian calendar is based on a solar year of 365.25 days. Days start at midnight.

The Record consists of three Fields named year, month, and day and the Optional Field wday. There are two types of years, a common year and a leap year, which follow the repeating pattern of three common years then one leap year. There are twelve months in a year numbered 1 to 12. The number of days in a month varies between 28 and 31, and are numbered from 1, as shown in the table opposite. This gives a total of 365 days in a common year and 366 in a leap year.

The Epoch is set at
jyearmonthday
111
=
jdnday
1721424
.

Script

Default Script
lexicon m { name "Month names"; fieldname month; lang en; pseudo Month, Mon; tokens { 1, "January", "Jan"; 2, "February", "Feb"; 3, "March", "Mar"; 4, "April", "Apr"; 5, "May"; 6, "June", "Jun"; 7, "July", "Jul"; 8, "August", "Aug"; 9, "September", "Sep"; 10, "October", "Oct"; 11, "November", "Nov"; 12, "December", "Dec"; } } grammar j { optional wday; lexicons m, w; alias field { WDay, wday; Day, day; Month, month; Year, year; } alias pseudo { w, WDay; dd, Day; mm, Month; yyyy, Year; } alias unit { d, day; m, month; y, year; wd, wday; w, week; } format dmy, "(Day) |(Month:m:a) |(Year)"; format wdmy, "(WDay:w:a) |(Day) |(Month:m:a) |(Year)"; format out { output "(Day::os) |(Month:m) |(Year)"; } format full { output "(WDay:w) |(Day::os) |(Month:m) |(Year)"; } format "dmy+", "(Day) |(Month:m) |(Year)"; format "wdmy+", "(WDay:w) |(Day) |(Month:m) |(Year)"; format mdy, "(Month:m:a) |(Day), |(Year)"; format ymd, "(Year)|:(Month:m:a)|:(Day)"; pref dmy; } scheme j { name "Julian"; base julian; grammar j; }

The script makes use of the optional field wday to output weekdays and is thus requires the 7 Day Week lexicon "w".

Home Development V0.0.7 Manual Cal. Definitions j

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

19th January 2014