コード例 #1
0
        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);
        }
コード例 #2
0
 public double CreateJulianDate(int year, int month, int day, int hour, int minute, int second)
 {
     return(DekJulianDate.ToJulianDate(year, month, day, hour, minute, second));
 }