pub type TimestampAsWeeks = LimitedResolutionTimestamp<Weeks, BonsaiEpoch>;
Expand description

A timestamp stored as the number of weeks (604,800 seconds) relative to BonsaiEpoch. Internally, the number of weeks is represented as an i32, allowing a range of +/- ~41.18 million years.

Aliased Type§

struct TimestampAsWeeks(/* private fields */);