beginning-of-year ( object -- new-timestamp )
Calendar > Relative timestamps

Prev:saturday ( timestamp -- new-timestamp )
Next:beginning-of-month ( timestamp -- new-timestamp )


Vocabulary
calendar

Inputs and outputs
objectan object
new-timestampa timestamp


Word description
Returns a new timestamp with the month and day set to one, or January 1 of the input timestamp, given a year or a timestamp.

Definition

GENERIC: beginning-of-year ( object -- new-timestamp )


Methods