Function zebra_chain::serialization::arbitrary::datetime_u32
source ยท pub fn datetime_u32() -> impl Strategy<Value = DateTime<Utc>>
Expand description
Returns a strategy that produces an arbitrary time from a u32
number
of seconds past the epoch.
The nanoseconds value is always zero.
The Zcash protocol typically uses 4-byte seconds values, except for the
Version
message.
TODO: replace this strategy with any::<DateTime32>()
.