OxL Reference

method i64.month

A period of this many months (singular form for 1.month()).

Example:

oxl✓ checked in CI
fn main() io {
  print("{1.month().totalMonths()}")
}
Output
1
pub(api) fn month() -> Period

Since. 1.0.0-beta

Returns

Period

Effects

none declared (pure unless the body says otherwise)

Defined in: std/time/time.oxl:1082

See also