Searched refs:timestamp_nanos (Results 1 – 9 of 9) sorted by relevance
397 fn timestamp_nanos(&self, nanos: i64) -> DateTime<Self> { in timestamp_nanos() method513 let dt = Utc.timestamp_nanos(-1_000_000_000); in test_negative_nanos()515 let dt = Utc.timestamp_nanos(-999_999_999); in test_negative_nanos()517 let dt = Utc.timestamp_nanos(-1); in test_negative_nanos()519 let dt = Utc.timestamp_nanos(-60_000_000_000); in test_negative_nanos()521 let dt = Utc.timestamp_nanos(-3_600_000_000_000); in test_negative_nanos()527 Utc.timestamp_nanos(i64::max_value()); in test_nanos_never_panics()528 Utc.timestamp_nanos(i64::default()); in test_nanos_never_panics()529 Utc.timestamp_nanos(i64::min_value()); in test_nanos_never_panics()
126 uint64_t timestamp_nanos; member129 TimestampAndResidency(uint64_t timestamp_nanos, in TimestampAndResidency()131 : timestamp_nanos(timestamp_nanos), residency(residency) {} in TimestampAndResidency()178 base::StringPrintf("%" PRIu64 " ", data_point.timestamp_nanos); in DumpResidency()
207 int64 timestamp_nanos = 1; field244 // uint64 timestamp_nanos;262 // | timestamp_nanos | revision |278 reserved 1; // Deprecated: Was timestamp_nanos. Use map_root.292 // uint64 timestamp_nanos;
70 pub fn timestamp_nanos(&self) -> Timestamp { in timestamp_nanos() method
157 let stamp = self.timestamp_nanos(); in duration_round()186 let stamp = self.timestamp_nanos(); in duration_trunc()
163 pub fn timestamp_nanos(&self) -> i64 { in timestamp_nanos() method164 self.datetime.timestamp_nanos() in timestamp_nanos()1200 serializer.serialize_i64(dt.timestamp_nanos()) in serialize()1353 Some(ref dt) => serializer.serialize_some(&dt.timestamp_nanos()), in serialize()
350 pub fn timestamp_nanos(&self) -> i64 { in timestamp_nanos() method1826 serializer.serialize_i64(dt.timestamp_nanos()) in serialize()2493 let nanos = parsed.timestamp_nanos(); in test_nanosecond_range()2501 let nanos = parsed.timestamp_nanos(); in test_nanosecond_range()
288 Some(Nanos) => self.buf.timestamp_nanos(), in write_timestamp()
184 * Add `timestamp_nanos` methods (@jean-airoldie #308)