cf.Variable.leap_year¶
-
Variable.
leap_year
¶ The leap_year CF property.
Provides an example of a leap year for a user defined calendar. It is assumed that all years that differ from this year by a multiple of four are also leap years. See http://cfconventions.org/latest.html for details.
Examples: >>> f.leap_year = 1984 >>> f.leap_year 1984 >>> del f.leap_year
>>> f.setprop('leap_year', 1984) >>> f.getprop('leap_year') 1984 >>> f.delprop('leap_year')