Constraints to be applied on date

Since 3.3.0

interface DateConstraints {
    max?: Date;
    min?: Date;
    noInvalidDate?: boolean;
}

Properties

max?: Date

Upper bound of the range (included)

new Date(8640000000000000)

Since 1.17.0

min?: Date

Lower bound of the range (included)

new Date(-8640000000000000)

Since 1.17.0

noInvalidDate?: boolean

When set to true, no more "Invalid Date" can be generated.

true

Since 3.13.0