Searched refs:HOUR (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
D | js_date.cpp | 36 …(*date)[HOUR] = Mod(timeMs, MS_PER_DAY); // ms from hour, minutes,… in TransferTimeToDate() 37 …(*date)[DAYS] = (timeMs - (*date)[HOUR]) / MS_PER_DAY; // days from year, month,… in TransferTimeToDate() 38 (*date)[MS] = (*date)[HOUR] % MS_PER_SECOND; // ms in TransferTimeToDate() 39 …(*date)[HOUR] = ((*date)[HOUR] - (*date)[MS]) / MS_PER_SECOND; // s from hour, minutes, … in TransferTimeToDate() 40 (*date)[SEC] = (*date)[HOUR] % SEC_PER_MINUTE; // second in TransferTimeToDate() 41 … (*date)[HOUR] = ((*date)[HOUR] - (*date)[SEC]) / SEC_PER_MINUTE; // min from hour, minutes in TransferTimeToDate() 42 (*date)[MIN] = (*date)[HOUR] % SEC_PER_MINUTE; // min in TransferTimeToDate() 43 (*date)[HOUR] = ((*date)[HOUR] - (*date)[MIN]) / SEC_PER_MINUTE; // hour in TransferTimeToDate() 485 double dateTime = MakeTime(time[HOUR], time[MIN], time[SEC], time[MS]); in GetTimeFromString() 692 CString hour = StrToTargetLength(ToCString(fields[HOUR]), STR_LENGTH_OTHERS); in ToDateString() [all …]
|
D | date_parse.cpp | 357 time[HOUR + i] = data_[i]; in SetTimeValue() 359 time[HOUR + i] = 0; in SetTimeValue() 363 if (time[HOUR] == 24) { in SetTimeValue() 369 if (!HourIsValid(time[HOUR]) || !MinuteIsValid(time[MIN]) || !SecondIsValid(time[SEC]) || in SetTimeValue()
|
D | js_date.h | 42 static constexpr uint8_t HOUR = 3; variable
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_date.h | 46 GET_DATE_VALUE(GetHours, HOUR, true); 76 GET_DATE_VALUE(GetUTCHours, HOUR, false);
|