Lines Matching refs:time
16 #include "src/objects/js-date-time-format.h"
451 // 1. Let ns be the approximate current UTC date and time, in nanoseconds
1908 Maybe<bool> RegulateTime(Isolate* isolate, TimeRecord* time,
1920 time->hour = std::max(std::min(time->hour, 23), 0);
1921 time->minute = std::max(std::min(time->minute, 59), 0);
1922 time->second = std::max(std::min(time->second, 59), 0);
1923 time->millisecond = std::max(std::min(time->millisecond, 999), 0);
1924 time->microsecond = std::max(std::min(time->microsecond, 999), 0);
1925 time->nanosecond = std::max(std::min(time->nanosecond, 999), 0);
1931 if (!IsValidTime(isolate, time->hour, time->minute, time->second,
1932 time->millisecond, time->microsecond,
1933 time->nanosecond)) {
4333 // 5. Let time be ! MakeTime(?(hour), ?(minute), ?(second), ?(millisecond)).
4334 double time = MakeTime(hour, minute, second, millisecond);
4335 // 6. Let ms be ! MakeDate(date, time).
4336 double ms = MakeDate(date, time);