Skip to main content

same_local_time

Function same_local_time 

Source
pub fn same_local_time(t: OffsetDateTime, days: i64) -> Option<OffsetDateTime>
Expand description

The instant days days before t at the same Berlin wall-clock time. Across a DST switch the elapsed offset is corrected; a local time that does not exist (the skipped spring hour) falls back one hour.