public void EqualityIgnoresDatesVisibility()
        {
            var periodA = new Period(new DateTime(2000, 01, 01), new DateTime(2010, 01, 01)) { DatesVisibility = DatesVisibility.Single};
            var periodB = new Period(new DateTime(2000, 01, 01), new DateTime(2010, 01, 01)) { DatesVisibility = DatesVisibility.Both};

            periodA.ShouldBe(periodB);
        }
        public void EqualityIgnoresDatesPartsVisibility()
        {
            var periodA = new Period(new DateTime(2000, 01, 01), new DateTime(2010, 01, 01)) { DatesPartsVisibility = TimeUnit.DayMonth};
            var periodB = new Period(new DateTime(2000, 01, 01), new DateTime(2010, 01, 01)) { DatesPartsVisibility = TimeUnit.DayMonthYear};

            periodA.ShouldBe(periodB);
        }