public void Can_find_systemTimeZone_by_id() { var timeZones = _dateTimeHelper.FindTimeZoneById("E. Europe Standard Time"); timeZones.ShouldNotBeNull(); timeZones.Id.ShouldEqual("E. Europe Standard Time"); }
public void Can_find_systemTimeZone_by_id() { var timeZones = _dateTimeHelper.FindTimeZoneById(gmtPlus2TimeZoneId); //(GMT+02:00) Minsk timeZones.ShouldNotBeNull(); timeZones.Id.ShouldEqual(gmtPlus2TimeZoneId); }
public void CanFindSystemTimeZoneById() { var timeZones = _dateTimeHelper.FindTimeZoneById(_gmtPlus2MinskTimeZoneId); //(GMT+02:00) Minsk timeZones.Should().NotBeNull(); timeZones.Id.Should().Be(_gmtPlus2MinskTimeZoneId); }
public void Can_find_systemTimeZone_by_id() { var timeZones = _dateTimeHelper.FindTimeZoneById("E. Europe Standard Time"); Assert.IsNotNull(timeZones); Assert.AreEqual("E. Europe Standard Time", timeZones.Id); }
public void Can_find_systemTimeZone_by_id() { var timeZones = _dateTimeHelper.FindTimeZoneById(_gmtPlus2MinskTimeZoneId); timeZones.ShouldNotBeNull(); timeZones.Id.ShouldEqual(_gmtPlus2MinskTimeZoneId); }