public void ConvertAndConvertBack(double julianDate) { (int year, int month, int day, int hour, int minute, int second, int ms) = DekJulianDate.ToTuple(julianDate); double sut = DekJulianDate.ToJulianDate(year, month, day, hour, minute, second, ms); Assert.AreEqual(julianDate, sut); }
public double CreateJulianDate(int year, int month, int day, int hour, int minute, int second) { return(DekJulianDate.ToJulianDate(year, month, day, hour, minute, second)); }