Example #1
0
        public void GetLocalGMTOffset_AtOffset()
        {
            var dateTime = DateTime.UtcNow;

            GPS.GetLocalGMTOffset(dateTime).Should().Be(TimeZoneInfo.Local.GetUtcOffset(dateTime));
        }
Example #2
0
 public void GetLocalGMTOffset()
 {
     GPS.GetLocalGMTOffset().Should().Be(TimeZoneInfo.Local.GetUtcOffset(DateTime.UtcNow));
 }