days-in-year ( obj -- n )
Calendar ยป Year operations

Prev:leap-year? ( obj -- ? )


Vocabulary
calendar

Inputs
obja timestamp or an integer


Outputs
nan integer


Word description
Calculates the number of days in a given year.

Examples
USING: calendar prettyprint ; 2004 days-in-year .
366


Definition


Methods