cf.FieldAncillary.leap_year¶
-
FieldAncillary.
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.set_property('leap_year', 1984) >>> f.has_property('leap_year') True >>> f.get_property('leap_year') 1984 >>> f.del_property('leap_year')