protected override DateTime GenerateValue()
        {
            var dateBegin = Constraints[ConstraintTypes.StartDate] != null
                ? DateTime.Parse(Constraints[ConstraintTypes.StartDate])
                : DateTime.MinValue;

            var dateEnd = Constraints[ConstraintTypes.EndDate] != null
                ? DateTime.Parse(Constraints[ConstraintTypes.EndDate])
                : DateTime.MaxValue;

            return(RandomValueGenerator.GenerateDateTime(dateBegin, dateEnd));
        }