Calendar Description - Scheme jdn
The Julian Day Number calendar is a simple count of days. It is the system used internally by the Glich hics extension. It is closely related to the Julian Day (or Julian Astronomical Days) but the time element is missing and the day is considered to start at midnight.
Note that the terms "Julian Day Number", "Julian Day" and "Julian Astronomical Day" are often used interchangeably in the academic world. However, this project will use the term "Julian Day Number" (code jdn) to describe the above definition of the calendar and the term "Julian Day" to describe the more common academic definition, where the day begins at midday.
Use Case
There is no known historical use of calendar, although the Julian Day scheme, on which it is based, has been in use by the scientific community, particularly astronomers, for many years.
It is used as the intermediate date value internally by the Glich hics extension.
It is also be used as the base for other day count calendar types.
Definition
Days start at midnight.
The Record consists of a single Field named day.
Record |
---|
day |
The Julian Day Number calendar is the same as that used by the internal hics library, so its definition in terms of itself is not helpful. Instead, it is defined by a day in history. The date chosen is the same as that referenced by the ISO-8601 standard, namely the day the "Convention du Mètre" was signed, the 20th May 1875 Gregorian.
jdn | day |
---|---|
2406029 |
g | year | month | day |
---|---|---|---|
1875 | 5 | 20 |
Formats
The formats supplied with this scheme.
Formats - Grammar d | |||||
---|---|---|---|---|---|
Code | Rule | Pseudo:in | Pseudo:out | Example | Note |
d | text | day | dddd | 2459984 | D |
def | text | day | dddd | 2459984 | H |
u | unit | 9d | 9d | 2459984d | H |
Notes: D = Default, H = Hidden. |
Script
Script - Module hics:jdn |
---|
grammar d { name "Day Count"; fields day; alias pseudo { dddd day; } alias unit { d day; } format d "{day}"; preferred d; } scheme jdn { name "Julian Day Number"; base jdn; grammar d; } |
The script has no dependencies.