Task

Determine whether a given year is a leap year in the Gregorian calendar.



See also

 Leap year (wiki)


 
-module(gregorian).
-export([leap/1]).
 
leap( Year ) -> calendar:is_leap_year( Year ).
 