Function: date()
date(
constraints?):Arbitrary<Date>
Defined in: packages/fast-check/src/arbitrary/date.ts:47
For date between constraints.min or new Date(-8640000000000000) (included) and constraints.max or new Date(8640000000000000) (included)
Parameters
| Parameter | Type | Description |
|---|---|---|
constraints | DateConstraints | Constraints to apply when building instances |
Returns
Arbitrary<Date>
Remarks
Since 1.17.0