Home
last modified time | relevance | path

Searched refs:tz (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_date.cpp821 int64_t tz = 0; in GetDateValues() local
826 tz = GetLocalOffsetFromOS(timeMsInt, isLocal); in GetDateValues()
827 timeMsInt += tz * MS_PER_SECOND * SEC_PER_MINUTE; in GetDateValues()
838 (*date)[TIMEZONE] = -tz; in GetDateValues()
Djs_locale.cpp44 bool JSLocale::IsValidTimeZoneName(const icu::TimeZone &tz) in IsValidTimeZoneName() argument
48 tz.getID(id); in IsValidTimeZoneName()
Djs_date_time_format.cpp1292 std::unique_ptr<icu::TimeZone> tz(icu::TimeZone::createTimeZone(canonicalized.c_str())); in ConstructTimeZone() local
1293 if (!JSLocale::IsValidTimeZoneName(*tz)) { in ConstructTimeZone()
1296 return tz; in ConstructTimeZone()
Djs_locale.h186 static bool IsValidTimeZoneName(const icu::TimeZone &tz);
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_date_time_format_test.cpp154 icu::TimeZone *tz = icu::TimeZone::createTimeZone(timeZoneId); in HWTEST_F_L0() local
155 icu::TimeZone::adoptDefault(tz); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
Dassembler_aarch64.cpp631 int tz = static_cast<int>(CountTrailingZeros64(imm)); in EmitMovInstruct() local
632 …firstshift = (tz / 16) * 16; // 16 : 16 means the operand of MOVK/N/Z is 16 bits Immediate in EmitMovInstruct()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js52325 const tz = [];
52469 for (let t = 0; t < $G; t++) tz.push({
52479 tz[t].x = t >= n ? h - u : t * m - u;
52480 tz[t].y = t >= s ? c - _ : t * y - _;
52482tz[t].x = -u : 1 === t ? tz[t].x = d * b - u : t > 1 && t < n - 1 ? tz[t].x = m > 0 ? d * b - u + …
52483tz[t].y = -_ : 1 === t ? tz[t].y = g * S - _ : t > 1 && t < s - 1 ? tz[t].y = y > 0 ? g * S - _ + …
52490 x = tz[t].y;
52491 w = tz[t + 1].y;
52493 E = tz[e].x;
52494 C = tz[e + 1].x;