Home
last modified time | relevance | path

Searched refs:GetLocalOffsetFromOS (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/platform/
H A Dtime.h22 int64_t GetLocalOffsetFromOS(int64_t timeMs, bool isLocal);
/arkcompiler/ets_runtime/ecmascript/
H A Djs_date.cpp195 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 Dtime.cpp24 int64_t GetLocalOffsetFromOS(int64_t timeMs, bool isLocal) in GetLocalOffsetFromOS() function
/arkcompiler/ets_runtime/ecmascript/platform/windows/
H A Dtime.cpp24 int64_t GetLocalOffsetFromOS([[maybe_unused]] int64_t timeMs, bool isLocal) in GetLocalOffsetFromOS() function
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_date_test.cpp738 localMin = GetLocalOffsetFromOS(static_cast<int64_t>((*jsDate)->GetTimeValue().GetDouble()), true); in GetLocalTime()

Completed in 7 milliseconds