use chrono::{DateTime, FixedOffset, NaiveDateTime, Offset};
pub fn with_fixed_local_offset_minutes<R>(offset_minutes: Option<i32>, f: impl FnOnce() -> R) -> R {
crate::runtime::with_fixed_local_offset_minutes(offset_minutes, f)
}
pub fn datetime_from_naive_local(naive: NaiveDateTime) -> DateTime<FixedOffset> {
crate::runtime::datetime_from_naive_local(naive)
}
pub fn datetime_to_local_fixed(dt: DateTime<FixedOffset>) -> DateTime<FixedOffset> {
crate::runtime::datetime_to_local_fixed(dt)
}
pub fn datetime_to_naive_local(dt: DateTime<FixedOffset>) -> NaiveDateTime {
crate::runtime::datetime_to_naive_local(dt)
}
pub fn utc_fixed_offset() -> FixedOffset {
chrono::Utc.fix()
}