Constraints to be applied on date

Remarks

Since 3.3.0

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

Properties

max?: Date

Upper bound of the range (included)

Default Value

new Date(8640000000000000)

Remarks

Since 1.17.0

min?: Date

Lower bound of the range (included)

Default Value

new Date(-8640000000000000)

Remarks

Since 1.17.0

noInvalidDate?: boolean

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

Default Value

true

Remarks

Since 3.13.0