method i64.months
A period of this many months.
Example:
fn main() io {
print("{5.months().totalMonths()}")
}Вывод
5
pub(api) fn months() -> PeriodС версии. 1.0.0-beta
Возвращает
Эффекты
не объявлены (чистая, пока тело не говорит иное)
Определено в: std/time/time.oxl:1070