示例#1
0
 /// <summary>
 ///   Checks DateTime kind not local
 /// </summary>
 public static IValidationCondition <DateTime> IsNotLocal(this IValidationCondition <DateTime> validationCondition)
 {
     return(validationCondition.IsNotDateTimeKind(DateTimeKind.Local));
 }
示例#2
0
 /// <summary>
 ///   Checks DateTime kind not unspecified
 /// </summary>
 public static IValidationCondition <DateTime> IsNotUnspecified(this IValidationCondition <DateTime> validationCondition)
 {
     return(validationCondition.IsNotDateTimeKind(DateTimeKind.Unspecified));
 }
示例#3
0
 /// <summary>
 ///   Checks DateTime kind not utc
 /// </summary>
 public static IValidationCondition <DateTime> IsNotUtc(this IValidationCondition <DateTime> validationCondition)
 {
     return(validationCondition.IsNotDateTimeKind(DateTimeKind.Utc));
 }