You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is useful for supporting #231, so we might as well make it public. We can reuse the rounding implementation for SignedDuration, but being careful to make sure we only support Unit::Hour, Unit::Minute and Unit::Second.
The text was updated successfully, but these errors were encountered:
This is to help support `Offset` equality that rounds to the nearest
minute. It's also pretty easy to add since we can just reuse
`SignedDuration::round`.
We also add `TryFrom<SignedDuration> for Offset` and
`From<Offset> for SignedDuration`.
Closes#233
This is useful for supporting #231, so we might as well make it public. We can reuse the rounding implementation for
SignedDuration
, but being careful to make sure we only supportUnit::Hour
,Unit::Minute
andUnit::Second
.The text was updated successfully, but these errors were encountered: