예제 #1
0
        public void TestToString()
        {
            LeapSecond leapSecond = new LeapSecond(2451545.0, 100.0);

            string expected = string.Format("2451545:0 UTC ({0}), 100", new GregorianDate(new JulianDate(2451545.0, TimeStandard.CoordinatedUniversalTime)));

            Assert.AreEqual(expected, leapSecond.ToString());
        }
예제 #2
0
        public void TestToString()
        {
            LeapSecond ls1 = new LeapSecond(2451545.0, 100.0);

            Assert.AreEqual("2451545:0 (UTC), 100", ls1.ToString());
        }
예제 #3
0
        public void TestToString()
        {
            LeapSecond ls1 = new LeapSecond(2451545.0, 100.0);

            Assert.AreEqual("2451545:0 (UTC), 100", ls1.ToString());
        }