MinDateRule
public class MinDateRule : DateRule
MinDateRule presents the min date requirement that a date string should follow.
Version
1.9.9Date
19/09/22-
Initialize the rule
Declaration
Swift
public init(minDate: Date, dateFormats: [DateFormat], message: String)Parameters
minDateThe min date
dateFormatsA list of format supported by the rule
messageThe error message to apply.
-
Undocumented
Declaration
Swift
public override func isValid(value: String?) -> String?
MinDateRule Class Reference