op Period.+
The sum of two periods (part by part).
Example:
fn main() io {
print("{(1.month() + 10.days()).show()}")
}Output
P1M10D
pub(api) static op +(a: Period, b: Period) -> PeriodSince. 1.0.0-beta
Parameters
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:973