Пример #1
0
        public void InUtc()
        {
            var clock      = new FakeClock(NodaConstants.UnixEpoch);
            var zoned      = clock.InUtc();
            var zonedEpoch = NodaConstants.UnixEpoch.InUtc();

            Assert.AreEqual(zonedEpoch, zoned.GetCurrentZonedDateTime());
        }