Specify the epoch of an observation with historical era labels.
astroYear(x)
x |
Numeric astronomical years, character integer years, or historical labels. |
Astronomical years include zero. Historical BC or BCE years convert by subtracting the historical year from one. AD and CE years keep their value. Era labels are case-insensitive and follow a positive whole year.
Numeric astronomical years in input order.
Build 2.0.9005 passed all 499 calendar, clock, era, angle and setting checks in A01. The largest discrepancy across 240 absolute Julian dates was 0.000021 seconds. See A01 validation in the technical manual.
All 499 calendar, clock and angle checks passed. The largest error across 240 absolute Julian dates was 0.000021 seconds. A01 study.
BC.AD, timestring
astroYear(c("3700 BC", "1 BCE", "1 AD", "2026 CE"))