inLeapYear
Returns true if the year is a leap year.
Parameters
- self:PlainDateTime
- PlainDateTime
Source
Implementation
pub fn inLeapYear(self: PlainDateTime) bool {
return abi.c.temporal_rs_PlainDateTime_in_leap_year(self._inner);
}Returns true if the year is a leap year.
Source
pub fn inLeapYear(self: PlainDateTime) bool {
return abi.c.temporal_rs_PlainDateTime_in_leap_year(self._inner);
}