Day count class

class convertdate.daycount.DayCount(epoch)

A day count converter for the given epoch (in terms of Julian Day Count)

from_datetime(date)
from_gregorian(year, month, day)
from_jd(jdc)
from_julian(year, month, day)
to_datetime(dc)
to_gregorian(dc)

From day count to Gregorian (year, month, day) tuple

to_jd(dc)
to_julian(dc)

From day count to Julian (year, month, day) tuple