TemporalZ

monthsInYear

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

Parameters

#
self:PlainDateTime
PlainDateTime

Source

Implementation

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