Glich - v0.3.0 Manual
jdn - Julian Day Number
Home Development v0.3.0 Manual Hics Library jdn

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.

By definition,
jdnday
2406029
=
gyearmonthday
1875520
.

Formats

The formats supplied with this scheme.

Formats - Grammar d
CodeRulePseudo:inPseudo:outExampleNote
dtextdaydddd2459984D
deftextdaydddd2459984H
uunit9d9d2459984dH
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.

Home Development v0.3.0 Manual Hics Library jdn

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

19th July 2023