Searched refs:kMsPerDay (Results 1 – 3 of 3) sorted by relevance
20 static const int64_t kMsPerDay = kSecPerDay * 1000; variable21 static const int64_t kMsPerMonth = kMsPerDay * 30;58 if (time_ms < 0) time_ms -= (kMsPerDay - 1); in DaysFromTime()59 return static_cast<int>(time_ms / kMsPerDay); in DaysFromTime()66 return static_cast<int>(time_ms - days * kMsPerDay); in TimeInDay()166 int time_within_day_ms = static_cast<int>(time_ms - days * kMsPerDay); in EquivalentTime()170 return static_cast<int64_t>(new_days) * kMsPerDay + time_within_day_ms; in EquivalentTime()
2023 const double kMsPerDay = 86400000.0; variable2035 return time + day * kMsPerDay; in MakeDate()
106 return (result + day - 1) * DateCache::kMsPerDay; in TimeFromYearMonthDay()152 time -= DateCache::kMsPerDay) { in TEST()