method i64.month
A period of this many months (singular form for 1.month()).
Example:
fn main() io {
print("{1.month().totalMonths()}")
}Output
1
pub(api) fn month() -> PeriodSince. 1.0.0-beta
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1082