method Period.ofDays
A calendar period of n days.
Example:
use std.time { Period }
fn main() io {
print("{Period.ofDays(3).days}")
}Output
3
pub(api) static fn ofDays(n: i64) -> PeriodSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
n | i64 |
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:933