public void InUtc() { var clock = new FakeClock(NodaConstants.UnixEpoch); var zoned = clock.InUtc(); var zonedEpoch = NodaConstants.UnixEpoch.InUtc(); Assert.AreEqual(zonedEpoch, zoned.GetCurrentZonedDateTime()); }
public void InUtc() { var clock = new FakeClock(NodaConstants.UnixEpoch); var zoned = clock.InUtc(); var zonedEpoch = NodaConstants.UnixEpoch.InUtc(); Assert.AreEqual(zonedEpoch, zoned.GetCurrentZonedDateTime()); }