leap-year? ( obj -- ? )
Calendar > Year operations

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


Vocabulary
calendar

Inputs and outputs
objan object
?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