Home
last modified time | relevance | path

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

/external/v8/src/date/
Ddate.h19 static const int64_t kMsPerDay = kSecPerDay * 1000; variable
20 static const int64_t kMsPerMonth = kMsPerDay * 30;
53 if (time_ms < 0) time_ms -= (kMsPerDay - 1); in DaysFromTime()
54 return static_cast<int>(time_ms / kMsPerDay); in DaysFromTime()
60 return static_cast<int>(time_ms - days * kMsPerDay); in TimeInDay()
123 int time_within_day_ms = static_cast<int>(time_ms - days * kMsPerDay); in EquivalentTime()
127 return static_cast<int64_t>(new_days) * kMsPerDay + time_within_day_ms; in EquivalentTime()
/external/v8/src/builtins/
Dbuiltins-date.cc34 const double kMsPerDay = 86400000.0; variable
44 return time + day * kMsPerDay; in MakeDate()