Function chrono::datetime::map_local

source ยท
fn map_local<Tz: TimeZone, F>(dt: &DateTime<Tz>, f: F) -> Option<DateTime<Tz>>
Expand description

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