2 Dates
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.
procedure
year : exact-integer? month : (integer-in 1 12) = 1 day : (day-of-month/c year month) = 1
Examples: | ||||||
|
procedure
jdn : exact-integer?
Examples: | ||||
|
procedure
(date->iso8601 d) → string?
d : date?
Examples: | ||||||
|
procedure
x : date? y : date?
procedure
x : date? y : date?
procedure
x : date? y : date?
procedure
x : date? y : date?
procedure
x : date? y : date?
Examples: | ||||||
|
value
Examples: | ||||||||
|