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