Task

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



See also

 Leap year (wiki)


 
::routine isLeapYear
  use arg year 
  d = .datetime~new(year, 1, 1) 
  return d~isLeapYear
 