SRFI 19: Time Data Types and Procedures
(require srfi/19) | package: srfi-lite-lib |
Original specification: SRFI 19
The date structure produced by this SRFI library is identical to the one provided by racket/base in most cases (see date).
For backwards compatibility, when an invalid date field value is provided to the SRFI constructor, the constructor will produce a lax date structure. A lax date structure is not compatible with functions from racket/base or racket/date. SRFI functions such as string->date may return a lax date structure depending on the format string.
procedure
(lax-date? v) → boolean?
v : any/c
Returns #t if v is a lax date structure. Otherwise
returns #f.
Examples: