days-in-year ( obj -- n )
Calendar > Year operations

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


Vocabulary
calendar

Inputs and outputs
obja timestamp or an integer
nan integer


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

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


Definition


Methods