Searched refs:GetLocalOffsetFromOS (Results 1 - 5 of 5) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/platform/ |
H A D | time.h | 22 int64_t GetLocalOffsetFromOS(int64_t timeMs, bool isLocal);
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_date.cpp | 195 return timeMs + GetLocalOffsetFromOS(timeMs, true); 201 return timeMs - GetLocalOffsetFromOS(timeMs, false); 254 localOffset = static_cast<double>(GetLocalOffsetFromOS(timeMs, isLocal)); 297 localMs -= (GetLocalOffsetFromOS(localMs, true) * MS_PER_MINUTE); 361 localMs -= (GetLocalOffsetFromOS(localMs, true) * MS_PER_MINUTE); 458 localMs -= (GetLocalOffsetFromOS(localMs, true) * MS_PER_MINUTE); 488 localMs = GetLocalOffsetFromOS(static_cast<int64_t>(timeValue), true) * MS_PER_MINUTE; 695 localMin = GetLocalOffsetFromOS(timeMs, true); in ToDateString() 767 localMin = GetLocalOffsetFromOS(static_cast<int64_t>(this->GetTimeValue().GetDouble()), true); in ToString() 806 localMin = GetLocalOffsetFromOS(static_cas in ToTimeString() [all...] |
/arkcompiler/ets_runtime/ecmascript/platform/unix/ |
H A D | time.cpp | 24 int64_t GetLocalOffsetFromOS(int64_t timeMs, bool isLocal) in GetLocalOffsetFromOS() function
|
/arkcompiler/ets_runtime/ecmascript/platform/windows/ |
H A D | time.cpp | 24 int64_t GetLocalOffsetFromOS([[maybe_unused]] int64_t timeMs, bool isLocal) in GetLocalOffsetFromOS() function
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_date_test.cpp | 738 localMin = GetLocalOffsetFromOS(static_cast<int64_t>((*jsDate)->GetTimeValue().GetDouble()), true); in GetLocalTime()
|
Completed in 7 milliseconds