method i64.week
A period of one week (7 calendar days).
Example:
fn main() io {
print("{(2026-11-03 + 1.week()).toIso()}")
}Output
2026-11-10
pub(api) fn week() -> PeriodSince. 1.0.0-beta
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1106