Calendar Description - Scheme j
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:
- Scotland, from 1 Jan 1600 to 2 Sep 1752.
- England and its overseas territories, from 1 Jan 1752 to 2 Sep 1752.
- Astronomers, for all dates before 31 Dec 1582 (Gregorian).
- The Hics extension uses it as the base calendar for many variants.
Definition
Month Names - Lexicon m | ||||
---|---|---|---|---|
Number | Name | Number of Days | ||
Full | Abrev. | Common | Leap | |
1 | January | Jan | 31 | 31 |
2 | February | Feb | 28 | 29 |
3 | March | Mar | 31 | 31 |
4 | April | Apr | 30 | 30 |
5 | May | May | 31 | 31 |
6 | June | Jun | 30 | 30 |
7 | July | Jul | 31 | 31 |
8 | August | Aug | 31 | 31 |
9 | September | Sep | 30 | 30 |
10 | October | Oct | 31 | 31 |
11 | November | Nov | 30 | 30 |
12 | December | Dec | 31 | 31 |
The Julian calendar is based on a solar year of 365.25 days. Days start at midnight, but there may be some local variation in this..
The Record consists of three Fields named year,
month,
and day
and the Optional Field
wday.
Record | |||
---|---|---|---|
year | month | day | 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.
j | year | month | day |
---|---|---|---|
1 | 1 | 1 |
jdn | day |
---|---|
1721424 |
Formats
The formats supplied with this scheme.
Formats - Grammar j | |||||
---|---|---|---|---|---|
Code | Rule | Pseudo:in | Pseudo:out | Example | Note |
dmy | text | day month year | dd Mon yyyy | 26 Jan 2023 | D, S |
dmy+ | text | day month year | dd Month yyyy | 26 January 2023 | S |
wdmy | text | wday day month year | Wday dd Mon yyyy | Wed 26 Jan 2023 | |
wdmy+ | text | wday day month year | Weekday dd Month yyyy | Wednesday 26 January 2023 | |
std | text | day month year | ddth Month yyyy | 26th January 2023 | S |
full | text | wday day month year | Weekday ddth Month yyyy | Wednesday 26th January 2023 | |
mdy | text | month day year | Mon dd, yyyy | Jan 26, 2023 | S |
mdy+ | text | month day year | Month dd, yyyy | January 26, 2023 | S |
wmdy | text | wday month day year | Wday, Mon dd, yyyy | Wed, Jan 26, 2023 | |
wmdy+ | text | wday month day year | Weekday, Month dd, yyyy | Wednesday, January 26, 2023 | |
ymd | text | year month day | yyyy:Mon:dd | 2023:Jan:26 | S |
def | text | year month day | yyyy mm dd | 2023 1 26 | H, S |
u | unit | 9y 9m 9d | 9y 9m 9d | 2023y 1m 26d | H |
Notes: D = Default, H = Hidden, S = Range shortcut supported. Example based on jdn# 2459984 |
Script
Script - Module hics:julian |
---|
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 { name "Julian"; fields year month day; optional wday; lexicons m, w; alias pseudo { w wday; dd day; mm month; yyyy year; } alias unit { d day; m month; y year; } format dmy "{day} |{month:m:a} |{year}"; format "dmy+" "{day} |{month:m} |{year}"; format wdmy "{wday:w:a} |{day} |{month:m:a} |{year}"; format "wdmy+" "{wday:w} |{day} |{month:m} |{year}"; format std "{day::os} |{month:m} |{year}"; format full "{wday:w} |{day::os} |{month:m} |{year}"; format mdy "{month:m:a} |{day}, |{year}"; format "mdy+" "{month:m} |{day}, |{year}"; format wmdy "{wday:w:a}, |{month:m:a} |{day}, |{year}"; format "wmdy+" "{wday:w}, |{month:m} |{day}, |{year}"; format ymd "{year}|:{month:m:a}|:{day}"; preferred dmy; } scheme j { name "Julian"; base julian; grammar j; } |
The script uses the lexicon "w" definition from the
jwn Julian Week Number scheme
for the optional field wday.