Searched defs:FixedOffset (Results 1 – 22 of 22) sorted by relevance
30 pub struct FixedOffset { struct34 impl FixedOffset { impl41 pub fn east(secs: i32) -> FixedOffset { in east()63 pub const fn east_opt(secs: i32) -> Option<FixedOffset> { in east_opt()77 pub fn west(secs: i32) -> FixedOffset { in west()99 pub const fn west_opt(secs: i32) -> Option<FixedOffset> { in west_opt()121 impl FromStr for FixedOffset { implementation129 impl TimeZone for FixedOffset { implementation132 fn from_offset(offset: &FixedOffset) -> FixedOffset { in from_offset()136 fn offset_from_local_date(&self, _local: &NaiveDate) -> LocalResult<FixedOffset> { in offset_from_local_date()[all …]
139 fn fix(&self) -> FixedOffset { in fix()
209 fn fix(&self) -> FixedOffset; in fix()
43 pub(super) fn offset_from_utc_datetime(_utc_time: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_utc_datetime()49 ) -> LocalResult<FixedOffset> { in offset_from_local_datetime()62 pub(super) fn offset_from_utc_datetime(utc: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_utc_datetime()67 pub(super) fn offset_from_local_datetime(local: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_local_datetime()169 fn offset_from_local_date(&self, local: &NaiveDate) -> LocalResult<FixedOffset> { in offset_from_local_date()174 fn offset_from_local_datetime(&self, local: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_local_datetime()179 fn offset_from_utc_date(&self, utc: &NaiveDate) -> FixedOffset { in offset_from_utc_date()184 fn offset_from_utc_datetime(&self, utc: &NaiveDateTime) -> FixedOffset { in offset_from_utc_datetime()201 offset_before: FixedOffset, in new()202 offset_after: FixedOffset, in new()[all …]
17 pub(super) fn offset_from_utc_datetime(utc: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_utc_datetime()21 pub(super) fn offset_from_local_datetime(local: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_local_datetime()25 fn offset(d: &NaiveDateTime, local: bool) -> LocalResult<FixedOffset> { in offset()107 fn offset(&mut self, d: NaiveDateTime, local: bool) -> LocalResult<FixedOffset> { in offset()
28 pub(super) fn offset_from_utc_datetime(utc: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_utc_datetime()74 pub(super) fn offset_from_local_datetime(local: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_local_datetime()
243 fixedoffset: &FixedOffset, in ymdhms()250 ) -> DateTime<FixedOffset> { in ymdhms()257 fixedoffset: &FixedOffset, in ymdhms_milli()265 ) -> DateTime<FixedOffset> { in ymdhms_milli()277 fixedoffset: &FixedOffset, in ymdhms_micro()285 ) -> DateTime<FixedOffset> { in ymdhms_micro()297 fixedoffset: &FixedOffset, in ymdhms_nano()305 ) -> DateTime<FixedOffset> { in ymdhms_nano()
354 pub fn fixed_offset(&self) -> DateTime<FixedOffset> { in fixed_offset()798 pub fn parse_from_rfc2822(s: &str) -> ParseResult<DateTime<FixedOffset>> { in parse_from_rfc2822()818 pub fn parse_from_rfc3339(s: &str) -> ParseResult<DateTime<FixedOffset>> { in parse_from_rfc3339()846 pub fn parse_from_str(s: &str, fmt: &str) -> ParseResult<DateTime<FixedOffset>> { in parse_from_str()880 ) -> ParseResult<(DateTime<FixedOffset>, &'a str)> { in parse_and_remainder()1747 FFixed: Fn(&str) -> Result<DateTime<FixedOffset>, E>, in test_decodable_json()1803 FFixed: Fn(&str) -> Result<rustc_serialize::TsSeconds<FixedOffset>, E>, in test_decodable_json_timestamps()
30 fn decode<D: Decoder>(d: &mut D) -> Result<DateTime<FixedOffset>, D::Error> { in decode()38 fn decode<D: Decoder>(d: &mut D) -> Result<TsSeconds<FixedOffset>, D::Error> { in decode()
1241 fn fix(&self) -> FixedOffset { in test_serde_no_offset_debug()
150 off: Option<&(String, FixedOffset)>, in format() argument175 off: Option<&(String, FixedOffset)>, in format_item() argument194 off: Option<&(String, FixedOffset)>, in format_inner() argument539 off: FixedOffset, in write_rfc3339()603 off: FixedOffset, in write_rfc2822()
526 fn from_str(s: &str) -> ParseResult<DateTime<FixedOffset>> { in from_str()1662 fn rfc2822_to_datetime(date: &str) -> ParseResult<DateTime<FixedOffset>> { in test_rfc2822()
616 pub fn to_fixed_offset(&self) -> ParseResult<FixedOffset> { in to_fixed_offset()626 pub fn to_datetime(&self) -> ParseResult<DateTime<FixedOffset>> { in to_datetime()
41 class FixedOffset(datetime.tzinfo): class in TimeMixIn
332 const int64_t FixedOffset = NumOfVReg * VLENB; in adjustStackForRVV() local349 uint64_t FixedOffset, in createDefCFAExpression()
23 class FixedOffset(datetime.tzinfo): class
26 class FixedOffset(tzinfo): class
217 class FixedOffset(datetime.tzinfo): class
2539 int64_t FixedOffset = -MFI.getObjectOffset(I); in determineSVEStackObjectOffsets() local
43 class FixedOffset(tzinfo): class
123 class FixedOffset(tzinfo): class
META-INF/ META-INF/MANIFEST.MF com/ com/intellij/ com/ ...