public void Can_find_systemTimeZone_by_id()
        {
            var timeZones = _dateTimeHelper.FindTimeZoneById("E. Europe Standard Time");

            timeZones.ShouldNotBeNull();
            timeZones.Id.ShouldEqual("E. Europe Standard Time");
        }
예제 #2
0
        public void Can_find_systemTimeZone_by_id()
        {
            var timeZones = _dateTimeHelper.FindTimeZoneById(gmtPlus2TimeZoneId);  //(GMT+02:00) Minsk

            timeZones.ShouldNotBeNull();
            timeZones.Id.ShouldEqual(gmtPlus2TimeZoneId);
        }
예제 #3
0
        public void CanFindSystemTimeZoneById()
        {
            var timeZones = _dateTimeHelper.FindTimeZoneById(_gmtPlus2MinskTimeZoneId);  //(GMT+02:00) Minsk

            timeZones.Should().NotBeNull();
            timeZones.Id.Should().Be(_gmtPlus2MinskTimeZoneId);
        }
예제 #4
0
        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);
        }
예제 #5
0
        public void Can_find_systemTimeZone_by_id()
        {
            var timeZones = _dateTimeHelper.FindTimeZoneById(_gmtPlus2MinskTimeZoneId);

            timeZones.ShouldNotBeNull();
            timeZones.Id.ShouldEqual(_gmtPlus2MinskTimeZoneId);
        }