pub enum Timezone {
Show 69 variants
UTC,
EST,
EDT,
CST,
CDT,
MST,
MDT,
PST,
PDT,
AST,
AKDT,
HST,
HAST,
BRT,
ART,
CLT,
CLST,
PYT,
PYST,
GFT,
VET,
BOT,
PET,
COT,
ECT,
GMT,
BST,
WET,
WEST,
CET,
CEST,
EET,
EEST,
MSK,
TRT,
IST,
WAT,
CAT,
EAT,
SAST,
INST,
PKT,
BAST,
MMT,
CHST,
JST,
KST,
SGT,
PHT,
ICT,
WIB,
WITA,
WIT,
GST,
AZT,
GET,
AMT,
ARST,
EAEST,
AWST,
ACST,
AEST,
ACDT,
AEDT,
NZST,
NZDT,
FJT,
CHAST,
CHADT,
}Variants§
UTC
Universal Time Coordinated - Standard Time
EST
Eastern Standard Time
EDT
Eastern Daylight Time
CST
Central Standard Time
CDT
Central Daylight Time
MST
Mountain Standard Time
MDT
Mountain Daylight Time
PST
Pacific Standard Time
PDT
Pacific Daylight Time
AST
Alaska Standard Time
AKDT
Alaska Daylight Time
HST
Hawaii Standard Time
HAST
Hawaii-Aleutian Standard Time
BRT
Brasília Time
ART
Argentina Time
CLT
Chile Standard Time
CLST
Chile Summer Time
PYT
Paraguay Time
PYST
Paraguay Summer Time
GFT
French Guiana Time
VET
Venezuela Time
BOT
Bolivia Time
PET
Peru Time
COT
Colombia Time
ECT
Ecuador Time
GMT
Greenwich Mean Time
BST
British Summer Time
WET
Western European Time
WEST
Western European Summer Time
CET
Central European Time
CEST
Central European Summer Time
EET
Eastern European Time
EEST
Eastern European Summer Time
MSK
Moscow Standard Time
TRT
Turkey Time
IST
Irish Standard Time
WAT
West Africa Time
CAT
Central Africa Time
EAT
East Africa Time
SAST
South Africa Standard Time
INST
India Standard Time
PKT
Pakistan Standard Time
BAST
Bangladesh Standard Time
MMT
Myanmar Time
CHST
China Standard Time
JST
Japan Standard Time
KST
Korea Standard Time
SGT
Singapore Time
PHT
Philippine Time
ICT
Indochina Time
WIB
Western Indonesia Time
WITA
Central Indonesia Time
WIT
Eastern Indonesia Time
GST
Gulf Standard Time
AZT
Azerbaijan Time
GET
Georgia Standard Time
AMT
Armenia Time
ARST
Arabia Standard Time
EAEST
Eastern European Summer Time
AWST
Australian Western Standard Time
ACST
Australian Central Standard Time
AEST
Australian Eastern Standard Time
ACDT
Australian Central Daylight Time
AEDT
Australian Eastern Daylight Time
NZST
New Zealand Standard Time
NZDT
New Zealand Daylight Time
FJT
Fiji Time
CHAST
Chatham Standard Time
CHADT
Chatham Daylight Time
Implementations§
Source§impl Timezone
impl Timezone
pub const fn format_long(&self) -> &'static str
pub const fn format_short(&self) -> &'static str
pub const fn utc_offset_hours_min(&self) -> (bool, u8, u8)
pub const fn utc_offset_millis(&self) -> i64
Trait Implementations§
impl Copy for Timezone
impl Eq for Timezone
impl StructuralPartialEq for Timezone
Auto Trait Implementations§
impl Freeze for Timezone
impl RefUnwindSafe for Timezone
impl Send for Timezone
impl Sync for Timezone
impl Unpin for Timezone
impl UnsafeUnpin for Timezone
impl UnwindSafe for Timezone
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.