pub fn timestamp_to_datetime<T: TimeZone>( timestamp: i64, time_unit: TimeUnit, timezone: &T, ) -> DateTime<T>
Converts a timestamp in time_unit and timezone into chrono::DateTime.
time_unit
timezone
chrono::DateTime