op Period.-
The difference of two periods (part by part).
Example:
fn main() io {
print("{(1.year() - 2.months()).show()}")
}Output
P1Y-2M
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:986