DateValidator

public final class DateValidator : Validator

A generic validator for dates.

  • Initializes the date validator.

    Declaration

    Swift

    public init(format: Format)

    Parameters

    format

    Date format. See Apple docs

  • Standard date formats.

    See more

    Declaration

    Swift

    public enum Format : String