JulianPeriod

Class

class badidatetime.julian_period.JulianPeriod[source]

Bases: object

Implementation of the Julian Period.

This Julian period is said to be named after Julius Cæsar Scaliger, the father of Josephus Justus Scaliger (Born: August 5, 1540, Agen, France), who invented the concept. The Julian Period is related to the Julian Calendar introduced by Julius Caesar, but it is not the same.

See https://quasar.as.utexas.edu/BillInfo/JulianDatesG.html

https://core2.gsfc.nasa.gov/time/julian.html https://www.tondering.dk/claus/cal/julperiod.php

_J2000 = 2451545.0
_JULIAN_EPOCH = 0
_JULIAN_LEAP_YEAR(year)
_JULIAN_YEAR = 365.25
_julian_centuries(jde: float) float[source]

Calculate the Julian centuries from the Julian day.

Parameters:

jde (float) – The Julian Period day.

Returns:

The Julian century relative to the day.

Return type:

float

_julian_millennia(jde: float) float[source]

Calculate the Julian millennia from the Julian day.

Parameters:

jde (float) – The Julian Period day.

Returns:

The Julian millennia relative to the day.

Return type:

float