Home
last modified time | relevance | path

Searched defs:Tz (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/chrono/src/
Ddate.rs63 pub fn from_utc(date: NaiveDate, offset: Tz::Offset) -> Date<Tz> { in from_utc()
72 pub fn and_time(&self, time: NaiveTime) -> Option<DateTime<Tz>> { in and_time()
82 pub fn and_hms(&self, hour: u32, min: u32, sec: u32) -> DateTime<Tz> { in and_hms()
91 pub fn and_hms_opt(&self, hour: u32, min: u32, sec: u32) -> Option<DateTime<Tz>> { in and_hms_opt()
101 pub fn and_hms_milli(&self, hour: u32, min: u32, sec: u32, milli: u32) -> DateTime<Tz> { in and_hms_milli()
117 ) -> Option<DateTime<Tz>> { in and_hms_milli_opt()
127 pub fn and_hms_micro(&self, hour: u32, min: u32, sec: u32, micro: u32) -> DateTime<Tz> { in and_hms_micro()
143 ) -> Option<DateTime<Tz>> { in and_hms_micro_opt()
153 pub fn and_hms_nano(&self, hour: u32, min: u32, sec: u32, nano: u32) -> DateTime<Tz> { in and_hms_nano()
169 ) -> Option<DateTime<Tz>> { in and_hms_nano_opt()
[all …]
Ddatetime.rs95 pub fn from_utc(datetime: NaiveDateTime, offset: Tz::Offset) -> DateTime<Tz> { in from_utc()
101 pub fn date(&self) -> Date<Tz> { in date()
205 pub fn timezone(&self) -> Tz { in timezone()
220 pub fn checked_add_signed(self, rhs: OldDuration) -> Option<DateTime<Tz>> { in checked_add_signed()
230 pub fn checked_sub_signed(self, rhs: OldDuration) -> Option<DateTime<Tz>> { in checked_sub_signed()
326 fn map_local<Tz: TimeZone, F>(dt: &DateTime<Tz>, mut f: F) -> Option<DateTime<Tz>> in map_local()
574 fn with_year(&self, year: i32) -> Option<DateTime<Tz>> { in with_year()
579 fn with_month(&self, month: u32) -> Option<DateTime<Tz>> { in with_month()
584 fn with_month0(&self, month0: u32) -> Option<DateTime<Tz>> { in with_month0()
589 fn with_day(&self, day: u32) -> Option<DateTime<Tz>> { in with_day()
[all …]
/external/rust/crates/chrono/src/offset/
Dmod.rs82 pub fn and_time(self, time: NaiveTime) -> LocalResult<DateTime<Tz>> { in and_time()
96 pub fn and_hms_opt(self, hour: u32, min: u32, sec: u32) -> LocalResult<DateTime<Tz>> { in and_hms_opt()
117 ) -> LocalResult<DateTime<Tz>> { in and_hms_milli_opt()
138 ) -> LocalResult<DateTime<Tz>> { in and_hms_micro_opt()
159 ) -> LocalResult<DateTime<Tz>> { in and_hms_nano_opt()
Dfixed.rs204 fn add(self, rhs: FixedOffset) -> DateTime<Tz> { in add()
213 fn sub(self, rhs: FixedOffset) -> DateTime<Tz> { in sub()
/external/tensorflow/tensorflow/core/kernels/
Dmatmul_op_impl.h84 auto Tz = out->tensor<Scalar, 3>(); in Run() local
/external/rust/crates/chrono/src/format/
Dparsed.rs674 pub fn to_datetime_with_timezone<Tz: TimeZone>(&self, tz: &Tz) -> ParseResult<DateTime<Tz>> { in to_datetime_with_timezone()