Handbook
Glossary
last-day-of-year ( object -- timestamp )
Vocabulary
calendar
Inputs
object
an
object
Outputs
timestamp
an
object
Definition
IN:
calendar
GENERIC:
last-day-of-year
( object -- timestamp )
Methods
USING:
calendar
math
;
M:
integer
last-day-of-year
12 31
<date>
;
USING:
accessors
calendar
kernel
;
M:
timestamp
last-day-of-year
clone
12
>>month
31
>>day
;