method is-leap-year
| 1 | role Dateish | 
| 1.1 | (Dateish) method is-leap-year | 
Documentation for method is-leap-year assembled from the following types:
role Dateish
From Dateish
(Dateish) method is-leap-year
Defined as:
method is-leap-year(--> Bool)
Returns True if the year of the Dateish object is a leap year.
say DateTime.new(:year<2016>).is-leap-year; # OUTPUT: «True»say Date.new("1900-01-01").is-leap-year; # OUTPUT: «False»