Skip to main content

Module private

Module private 

Source

Re-exportsΒ§

use chrono::offset::TimeZone; πŸ”’
use chrono::Datelike; πŸ”’
use chrono::NaiveDate; πŸ”’
use chrono::NaiveDateTime; πŸ”’
use chrono::NaiveTime; πŸ”’
use chrono::Offset; πŸ”’
use chrono::Timelike; πŸ”’
use jiff::Timestamp; πŸ”’
use jiff::civil::DateTime as JiffDateTime; πŸ”’
use jiff::tz::AmbiguousOffset; πŸ”’
use jiff::tz::TimeZone as JiffTimeZone; πŸ”’
use std::collections::HashMap; πŸ”’
use std::fmt::Display; πŸ”’
use std::str::FromStr; πŸ”’
use std::sync::OnceLock; πŸ”’
use super::*; πŸ”’

StructsΒ§

NamedTz πŸ”’
A named timezone resolved by jiff, together with its name.
Tz
An Arrow TimeZone
TzOffset
An Offset for Tz

EnumsΒ§

TzInner πŸ”’

FunctionsΒ§

bundled_tz πŸ”’
Builds a timezone from jiff-tzdb. jiff::tz::db() would read the host’s zoneinfo files instead if any crate in the build enabled jiff’s tzdb-zoneinfo feature.
fixed_offset πŸ”’
jiff_civil πŸ”’
The civil datetime jiff should resolve for a local datetime, or None when the year is outside jiff’s range. Sub-second precision is irrelevant to the offset in force.
jiff_timestamp πŸ”’
The instant jiff should consult for a UTC datetime. jiff covers years -9999 to 9999; anything outside that range takes the offset in force at the nearest covered instant.
named_tz πŸ”’
Resolves a name in the bundled database. As with chrono-tz, and unlike jiff, names are case sensitive.
new_gap_info πŸ”’