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