Skip to main content

checked_sub_with_leapsecond

Function checked_sub_with_leapsecond 

Source
fn checked_sub_with_leapsecond(
    lhs: &NaiveDateTime,
    rhs: &FixedOffset,
) -> Option<NaiveDateTime>
Expand description

Checked subtraction that is missing from chrono. Adapt its methods here but add a check.