Gregor provides a date struct that represents a calendar date without a time or time zone. Unfortunately, the name date conflicts with an existing, incompatible definition in racket/base.
The author of this package considered other names, including Date (with a capital D) and local-date (à la Joda-Time) but in the end decided to live with the incompatibility. Gregor’s date , along with its companion data structures (time , datetime , and moment ) should be considered a replacement of, not a supplement to, the built-in Racket date.
year:exact-integer?
#<date 1941εΉ΄12ζ07ζ₯>
#<date 1965εΉ΄07ζ01ζ₯>
#<date 1970εΉ΄01ζ01ζ₯>
jdn:exact-integer?
procedure
( date->iso8601 d)→string?
d:date?
"1941-12-07"
"1965-07-01"
"1970-01-01"
#t
#t
#f
value
'=
'<
'>
#<splay-tree*>