Internal function valid-timestamp-p could be smarter about restricting the valid integer range for YEAR arg.
local-time::valid-timestamp-p 000001 0 0 0 28 2 most-positive-fixnum)
;=> T
(local-time::valid-timestamp-p 000001 0 0 0 29 2 most-positive-fixnum)
;=> NIL
(local-time:encode-timestamp 000001 0 0 0 29 2 most-positive-fixnum)
;=> error
(local-time:encode-timestamp 000001 0 0 0 28 2 most-positive-fixnum)
;=> error
Internal function valid-timestamp-p could be smarter about restricting the valid integer range for YEAR arg.
local-time::valid-timestamp-p 000001 0 0 0 28 2 most-positive-fixnum)
;=> T
(local-time::valid-timestamp-p 000001 0 0 0 29 2 most-positive-fixnum)
;=> NIL
(local-time:encode-timestamp 000001 0 0 0 29 2 most-positive-fixnum)
;=> error
(local-time:encode-timestamp 000001 0 0 0 28 2 most-positive-fixnum)
;=> error