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