Convert an astronomical year to a BC or AD label

Description

Label an astronomical year in historical BC or AD notation when reporting an epoch.

Usage

BC.AD(year)

Arguments

year

Numeric astronomical year or vector of years. Year zero is 1 BC. Historical labels such as "3700 BC" are accepted by astroYear.

Details

Astronomical dating includes a year zero, whereas historical BC and AD labels run directly from 1 BC to AD 1. Positive years retain their number and receive AD. For zero or a negative year, subtract the astronomical year from one and append BC. The conversion works element by element and changes only the label, not the calendar or instant.

Value

Character labels for astronomical years. Year 0 is 1 BC and year -1 is 2 BC.

Validation

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.

Scientific checks

See Also

time2jd, jd2time, timestring, long.date

Examples

BC.AD(100)
BC.AD(0)
BC.AD(-1)
BC.AD(-99)
BC.AD(-100)