csharp/42skillz/Diverse/Diverse/IFuzzDatesAndTime.cs

IFuzzDatesAndTime.cs
using System;

namespace Diverse
{
    /// 
    /// Fuzz Dates and Time.
    /// 
    public interface IFuzzDatesAndTime
    {
        /// 
        /// Generates a random .
        /// 
        /// A  value generated randomly.
        DateTime GenerateDateTime();

        /// 
        /// Generates a random  in a Time Range.
        /// 
        /// The minimum inclusive boundary of the Time Range for this  generation.
        /// The maximum inclusive boundary of the Time Range for this  generation.
        /// A  instance between the min and the max inclusive boundaries.
        DateTime GenerateDateTimeBetween(DateTime minValue, DateTime maxValue);

        /// 
        /// Generates a random  in a Time Range.
        /// 
        /// The minimum inclusive boundary of the Time Range for this  generation, specified as a yyyy/MM/dd string.
        /// The maximum inclusive boundary of the Time Range for this  generation, specified as a yyyy/MM/dd string.
        /// A  instance between the min and the max inclusive boundaries.
        DateTime GenerateDateTimeBetween(string minDate, string maxDate);
    }
}