Function chrono::datetime::map_local

source ·
fn map_local<Tz: TimeZone, F>(dt: &DateTime<Tz>, f: F) -> Option<DateTime<Tz>>where
    F: FnMut(NaiveDateTime) -> Option<NaiveDateTime>,
Expand description

Maps the local datetime to other datetime with given conversion function.