System.Configuration.TimeSpanValidatorAttribute
Declaratively instructs .NET to perform time validation on a configuration property. This class cannot be inherited.
namespace System.Configuration
{
public sealed class TimeSpanValidatorAttribute : ConfigurationValidatorAttribute
{
public const string TimeSpanMinValue = "-10675199.02:48:05.4775808";
public const string TimeSpanMaxValue = "10675199.02:48:05.4775807";
public TimeSpan MinValue { get; }
public TimeSpan MaxValue { get; }
public string MinValueString { get; set; }
public string MaxValueString { get; set; }
public bool ExcludeRange { get; set; }
public TimeSpanValidatorAttribute();
}
}