leap-year? ( obj -- ? )
Calendar ยป Year operations

Next:days-in-year ( obj -- n )


Vocabulary
calendar

Inputs
objan object


Outputs
?a boolean


Word description
Returns t if the object represents a leap year.

Examples
USING: calendar prettyprint ; 2008 leap-year? .
t

USING: calendar prettyprint ; 2010 1 1 <date> leap-year? .
f


Definition


Methods