Home
last modified time | relevance | path

Searched defs:FixedOffset (Results 1 – 14 of 14) sorted by relevance

/external/rust/crates/chrono/src/offset/
Dfixed.rs23 pub struct FixedOffset { struct
27 impl FixedOffset { implementation
42 pub fn east(secs: i32) -> FixedOffset { in east()
50 pub fn east_opt(secs: i32) -> Option<FixedOffset> { in east_opt()
72 pub fn west(secs: i32) -> FixedOffset { in west()
80 pub fn west_opt(secs: i32) -> Option<FixedOffset> { in west_opt()
101 impl TimeZone for FixedOffset { implementation
104 fn from_offset(offset: &FixedOffset) -> FixedOffset { in from_offset()
108 fn offset_from_local_date(&self, _local: &NaiveDate) -> LocalResult<FixedOffset> { in offset_from_local_date()
111 fn offset_from_local_datetime(&self, _local: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_local_datetime()
[all …]
Dlocal.rs125 fn offset_from_local_date(&self, local: &NaiveDate) -> LocalResult<FixedOffset> { in offset_from_local_date()
129 fn offset_from_local_datetime(&self, local: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_local_datetime()
133 fn offset_from_utc_date(&self, utc: &NaiveDate) -> FixedOffset { in offset_from_utc_date()
137 fn offset_from_utc_datetime(&self, utc: &NaiveDateTime) -> FixedOffset { in offset_from_utc_datetime()
Dutc.rs85 fn fix(&self) -> FixedOffset { in fix()
Dmod.rs185 fn fix(&self) -> FixedOffset; in fix()
/external/rust/crates/chrono/src/format/
Dparse.rs461 fn from_str(s: &str) -> ParseResult<DateTime<FixedOffset>> { in from_str()
825 fn rfc2822_to_datetime(date: &str) -> ParseResult<DateTime<FixedOffset>> { in test_rfc2822()
908 fn rfc3339_to_datetime(date: &str) -> ParseResult<DateTime<FixedOffset>> { in test_rfc3339()
Dmod.rs395 off: Option<&(String, FixedOffset)>, in format_item() argument
408 off: Option<&(String, FixedOffset)>, in format_inner() argument
530 off: FixedOffset, in format_inner()
693 off: Option<&(String, FixedOffset)>, in format() argument
858 off: Option<&(String, FixedOffset)>, in format_item_localized() argument
874 off: Option<&(String, FixedOffset)>, in format_localized() argument
Dparsed.rs644 pub fn to_fixed_offset(&self) -> ParseResult<FixedOffset> { in to_fixed_offset()
654 pub fn to_datetime(&self) -> ParseResult<DateTime<FixedOffset>> { in to_datetime()
/external/python/pyasn1/pyasn1/type/
Duseful.py41 class FixedOffset(datetime.tzinfo): class in TimeMixIn
/external/rust/crates/chrono/src/
Ddatetime.rs347 pub fn parse_from_rfc2822(s: &str) -> ParseResult<DateTime<FixedOffset>> { in parse_from_rfc2822()
359 pub fn parse_from_rfc3339(s: &str) -> ParseResult<DateTime<FixedOffset>> { in parse_from_rfc3339()
386 pub fn parse_from_str(s: &str, fmt: &str) -> ParseResult<DateTime<FixedOffset>> { in parse_from_str()
869 FFixed: Fn(&str) -> Result<DateTime<FixedOffset>, E>, in test_decodable_json()
918 FFixed: Fn(&str) -> Result<rustc_serialize::TsSeconds<FixedOffset>, E>, in test_decodable_json_timestamps()
984 fn decode<D: Decoder>(d: &mut D) -> Result<DateTime<FixedOffset>, D::Error> { in decode()
994 fn decode<D: Decoder>(d: &mut D) -> Result<TsSeconds<FixedOffset>, D::Error> { in decode()
2080 fn visit_str<E>(self, value: &str) -> Result<DateTime<FixedOffset>, E> in visit_str()
/external/python/pyasn1/tests/type/
Dtest_useful.py23 class FixedOffset(datetime.tzinfo): class
/external/python/cpython2/Doc/includes/
Dtzinfo-examples.py26 class FixedOffset(tzinfo): class
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp2539 int64_t FixedOffset = -MFI.getObjectOffset(I); in determineSVEStackObjectOffsets() local
/external/python/cpython2/Lib/test/
Dtest_datetime.py43 class FixedOffset(tzinfo): class
/external/python/cpython3/Lib/test/
Ddatetimetester.py115 class FixedOffset(tzinfo): class