Searched refs:us_ (Results 1 – 5 of 5) sorted by relevance
353 return us_ == 0; in is_null()357 bool is_max() const { return us_ == std::numeric_limits<int64_t>::max(); } in is_max()358 bool is_min() const { return us_ == std::numeric_limits<int64_t>::min(); } in is_min()376 int64_t ToInternalValue() const { return us_; } in ToInternalValue()384 TimeDelta since_origin() const { return TimeDelta::FromMicroseconds(us_); } in since_origin()387 us_ = other.us_;393 return TimeDelta::FromMicroseconds(us_ - other.us_);398 return TimeClass(time_internal::SaturatedAdd(delta, us_));401 return TimeClass(-time_internal::SaturatedSub(delta, us_));414 return us_ == other.us_;[all …]
195 return TimeDelta::FromMicroseconds(us_); in ToDeltaSinceWindowsEpoch()214 if (std::numeric_limits<int64_t>::max() - kTimeTToMicrosecondsOffset <= us_) { in ToTimeT()216 "value " << us_ << " to time_t."; in ToTimeT()219 return (us_ - kTimeTToMicrosecondsOffset) / kMicrosecondsPerSecond; in ToTimeT()236 return (static_cast<double>(us_ - kTimeTToMicrosecondsOffset) / in ToDoubleT()266 return (static_cast<double>(us_ - kTimeTToMicrosecondsOffset) / in ToJsTime()284 return ((us_ - kTimeTToMicrosecondsOffset) / in ToJavaTime()291 time.us_ = kTimeTToMicrosecondsOffset; in UnixEpoch()
61 int64_t us = us_ - kTimeTToMicrosecondsOffset; in ToTimeVal()
132 int64_t microseconds = us_ - kTimeTToMicrosecondsOffset; in Explode()
56 - int64_t ToInternalValue() const { return us_; }57 + constexpr int64_t ToInternalValue() const { return us_; }