public void Test()
        {
            var dio = new DtzIoHelper("ZoneYearOffset");
            var expected = new ZoneYearOffset(TransitionMode.Utc, 10, 31, (int)IsoDayOfWeek.Wednesday, true, Offset.Zero);
            dio.TestZoneYearOffset(expected);

            dio = new DtzIoHelper("ZoneYearOffset");
            expected = new ZoneYearOffset(TransitionMode.Utc, 10, -31, (int)IsoDayOfWeek.Wednesday, true, Offset.Zero);
            dio.TestZoneYearOffset(expected);
        }
 public void SetUp()
 {
     Dio = new DtzIoHelper("compress", stream => new DateTimeZoneCompressionWriter(stream), stream => new DateTimeZoneCompressionReader(stream));
 }
 public void SetUp()
 {
     Dio = new DtzIoHelper("standard", stream => new DateTimeZoneWriter(stream), stream => new DateTimeZoneReader(stream));
 }
 public void TestReadWrite()
 {
     var dio = new DtzIoHelper("FixedDateTimeZone");
     dio.TestTimeZone(TestZone);
 }
 public void Test()
 {
     var dio = new DtzIoHelper("ZoneRecurrence");
     var yearOffset = new ZoneYearOffset(TransitionMode.Utc, 10, 31, (int)IsoDayOfWeek.Wednesday, true, Offset.Zero);
     var expected = new ZoneRecurrence("bob", Offset.Zero, yearOffset, 1971, 2009);
     dio.TestZoneRecurrence(expected);
 }