Calendar Description - Scheme rd
The Rata Die calendar is a day count scheme with the epoch set at the 1st January year 1 of the proleptic Gregorian calendar.
Because this calendar scheme has limited historical value, its visibility is set at hidden.
Use Case
Calendar is used as the base scheme to define the calendars in the book Calendrical Calculations by Nachum Dershowitz and Edward M. Reingold.
Definition
Days start at midnight.
The Record consists of a single Field named day.
Record |
---|
day |
The count starts at the Gregorian date of 1st January in the year 1.
The Epoch is set at
=
.
=
rd | day |
---|---|
1 |
g | year | month | day |
---|---|---|---|
1 | 1 | 1 |
jdn | day |
---|---|
1721426 |
Formats
The formats supplied with this scheme.
Formats - Grammar d | |||||
---|---|---|---|---|---|
Code | Rule | Pseudo:in | Pseudo:out | Example | Note |
d | text | day | dddd | 728714 | D |
def | text | day | dddd | 728714 | H |
u | unit | 9d | 9d | 728714d | H |
Notes: D = Default, H = Hidden. Example based on jdn# 2450139 |
Script
Script - Module hics:jdn |
---|
scheme rd { name "Rata Die"; base jdn epoch:1721426; // g:dmy# 1 Jan 1 grammar d; visible no; } |
It uses the grammar "d" day count definition from jdn Julian also in the module hics:jdn.