예제 #1
0
        public void Yet_another_date()
        {
            var date = Gigasecond.AddGigasecond(new DateTime(1959, 7, 19, 0, 0, 0, DateTimeKind.Utc));

            Assert.Equal(new DateTime(1991, 3, 27, 1, 46, 40, DateTimeKind.Utc), date);
        }
예제 #2
0
        public void First_date()
        {
            var date = Gigasecond.AddGigasecond(new DateTime(2011, 4, 25, 0, 0, 0, DateTimeKind.Utc));

            Assert.Equal(new DateTime(2043, 1, 1, 1, 46, 40, DateTimeKind.Utc), date);
        }
예제 #3
0
        public void Another_date()
        {
            var date = Gigasecond.AddGigasecond(new DateTime(1977, 6, 13, 0, 0, 0, DateTimeKind.Utc));

            Assert.Equal(new DateTime(2009, 2, 19, 1, 46, 40, DateTimeKind.Utc), date);
        }