TemporalZ

monthsInYear

Returns the number of months in the year for this date.

Parameters

#
self:PlainDate
PlainDate

Source

Implementation

#
pub fn monthsInYear(self: PlainDate) u16 {
    return abi.c.temporal_rs_PlainDate_months_in_year(self._inner);
}