public void GetLocalGMTOffset_AtOffset() { var dateTime = DateTime.UtcNow; GPS.GetLocalGMTOffset(dateTime).Should().Be(TimeZoneInfo.Local.GetUtcOffset(dateTime)); }
public void GetLocalGMTOffset() { GPS.GetLocalGMTOffset().Should().Be(TimeZoneInfo.Local.GetUtcOffset(DateTime.UtcNow)); }