private bool IsValidDuration(RecurrencePattern pattern)
        {
            int maxDays = pattern.GetMaxDaysDuration();

            if (this.Duration > TimeSpan.FromDays(maxDays))
            {
                return(false);
            }

            return(true);
        }