Closed lrosenth closed 6 years ago
This PR refactors the conversion algorithms so that there is always a year 0 both in Gregorian and Julian calendar and the JD contains fractions (daytime) that can be converted to a JDN if necessary.
resolves #2 resolves #3
@lrosenth I know why tests for JDNToGregorian are failing too: it calls GregorianToJDN which we changed.
JDNToGregorian
GregorianToJDN
This PR refactors the conversion algorithms so that there is always a year 0 both in Gregorian and Julian calendar and the JD contains fractions (daytime) that can be converted to a JDN if necessary.
resolves #2 resolves #3