Home
last modified time | relevance | path

Searched refs:kMsPerDay (Results 1 - 2 of 2) sorted by relevance

/third_party/node/deps/v8/src/date/
H A Ddate.h20 static const int64_t kMsPerDay = kSecPerDay * 1000; member in v8::internal::DateCache
21 static const int64_t kMsPerMonth = kMsPerDay * 30;
52 // Computes floor(time_ms / kMsPerDay).
54 if (time_ms < 0) time_ms -= (kMsPerDay - 1); in DaysFromTime()
55 return static_cast<int>(time_ms / kMsPerDay); in DaysFromTime()
58 // Computes modulo(time_ms, kMsPerDay) given that
59 // days = floor(time_ms / kMsPerDay).
61 return static_cast<int>(time_ms - days * kMsPerDay); in TimeInDay()
124 int time_within_day_ms = static_cast<int>(time_ms - days * kMsPerDay); in EquivalentTime()
128 return static_cast<int64_t>(new_days) * kMsPerDay in EquivalentTime()
[all...]
H A Ddate.cc467 const double kMsPerDay = 86400000.0; member
477 return time + day * kMsPerDay; in MakeDate()

Completed in 2 milliseconds