op Period.*
A period multiplied by an integer.
Example:
fn main() io {
print("{(2.weeks() * 2).show()}")
}Output
P28D
pub(api) static op *(a: Period, k: i64) -> PeriodSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
a | Period |
k | i64 |
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1011