Searched refs:hours (Results 1 - 3 of 3) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_date.cpp | 266 int hours = 0; 293 GetNumFromString(str, len, &index, &hours); 301 GetNumFromString(str, indexGmt, &index, &hours); 313 double time = MakeTime(hours, minutes, seconds, ms); 332 int hours = 0; 357 GetNumFromString(str, len, &index, &hours); 365 GetNumFromString(str, indexGmt, &index, &hours); 377 double time = MakeTime(hours, minutes, seconds, ms); 396 int hours = 0; 423 GetNumFromString(str, len, &index, &hours); [all...] |
H A D | js_relative_time_format.cpp | 179 // 4. If unit is "hours" or "hour", return "hour". in SingularUnitToIcuUnit() 197 JSHandle<EcmaString> hours = JSHandle<EcmaString>::Cast(globalConst->GetHandledHoursString()); in SingularUnitToIcuUnit() local 211 EcmaStringAccessor::StringsAreEqual(*hours, *unit)) { in SingularUnitToIcuUnit() 311 JSHandle<EcmaString> hours = JSHandle<EcmaString>::Cast(globalConst->GetHandledHoursString()); in SingularUnitString() local 326 // 4. If unit is "hours" or "hour", return "hour". in SingularUnitString() 327 if (EcmaStringAccessor::StringsAreEqual(*hour, *unit) || EcmaStringAccessor::StringsAreEqual(*hours, *unit)) { in SingularUnitString()
|
/arkcompiler/ets_frontend/test/scripts/utils/download_sdk_and_image/ |
H A D | download.py | 73 datetime.timedelta(hours=-24)).strftime('%Y%m%d%H%M%S')
|
Completed in 4 milliseconds