Lines Matching refs:Time

396 class BASE_EXPORT Time : public time_internal::TimeBase<Time> {
437 Time() : TimeBase(0) { in Time() function
441 static Time UnixEpoch();
446 static Time Now();
452 static Time NowFromSystemTime();
457 static Time FromTimeT(time_t tt);
465 static Time FromDoubleT(double dt);
473 static Time FromTimeSpec(const timespec& ts);
479 static Time FromJsTime(double ms_since_epoch);
487 static Time FromTimeVal(struct timeval t);
492 static Time FromCFAbsoluteTime(CFAbsoluteTime t);
497 static Time FromFileTime(FILETIME ft);
527 static Time FromUTCExploded(const Exploded& exploded) { in FromUTCExploded()
528 base::Time time; in FromUTCExploded()
532 static Time FromLocalExploded(const Exploded& exploded) { in FromLocalExploded()
533 base::Time time; in FromLocalExploded()
542 Time* time) WARN_UNUSED_RESULT { in FromUTCExploded()
546 Time* time) WARN_UNUSED_RESULT { in FromLocalExploded()
558 static bool FromString(const char* time_string, Time* parsed_time) { in FromString()
561 static bool FromUTCString(const char* time_string, Time* parsed_time) { in FromUTCString()
576 Time LocalMidnight() const;
579 friend class time_internal::TimeBase<Time>;
581 explicit Time(int64_t us) : TimeBase(us) {} in Time() function
593 Time* time) WARN_UNUSED_RESULT;
604 Time* parsed_time);
614 : TimeDelta(days * Time::kMicrosecondsPerDay); in FromDays()
621 : TimeDelta(hours * Time::kMicrosecondsPerHour); in FromHours()
628 : TimeDelta(minutes * Time::kMicrosecondsPerMinute); in FromMinutes()
633 return FromProduct(secs, Time::kMicrosecondsPerSecond); in FromSeconds()
638 return FromProduct(ms, Time::kMicrosecondsPerMillisecond); in FromMilliseconds()
643 return FromDouble(secs * Time::kMicrosecondsPerSecond); in FromSecondsD()
648 return FromDouble(ms * Time::kMicrosecondsPerMillisecond); in FromMillisecondsD()
685 BASE_EXPORT std::ostream& operator<<(std::ostream& os, Time time);