TemporalZ

inLeapYear

Returns true if the year is a leap year.

Parameters

#
self:PlainDate
PlainDate

Source

Implementation

#
pub fn inLeapYear(self: PlainDate) bool {
    return abi.c.temporal_rs_PlainDate_in_leap_year(self._inner);
}