/arkcompiler/ets_runtime/ecmascript/platform/windows/ |
D | time.cpp | 43 int day = nowtm.tm_mday; in IsDst() local 55 if (day > stDSTStart.wDay || (day == stDSTStart.wDay && hour >= tzi.DaylightBias)) { in IsDst() 59 if (day < stDSTEnd.wDay || (day == stDSTEnd.wDay && hour < tzi.DaylightBias)) { in IsDst()
|
/arkcompiler/ets_frontend/test/scripts/ |
D | timer.py | 32 schedule.every().day.at("01:00").do(job, cmd=os.path.join( 35 schedule.every().day.at("01:00").do( 38 schedule.every().day.at("01:00").do( 41 schedule.every().day.at("01:00").do(
|
/arkcompiler/ets_runtime/ecmascript/ |
D | date_parse.cpp | 74 DateUnit day = proxy->GetDate(); in IsIsoDateTime() local 75 if (!day.IsTwoDecimalDigit()) { in IsIsoDateTime() 78 dayValue->SetData(day.GetValue()); in IsIsoDateTime() 383 int day = 1; in SetDayValue() local 392 day = data_[DAYS]; in SetDayValue() 398 day = data_[1]; // 1:index of day in SetDayValue() 403 day = data_[2]; // 2:index of day in SetDayValue() 414 day = data_[0]; in SetDayValue() 418 day = data_[1]; in SetDayValue() 421 day = data_[0]; in SetDayValue() [all …]
|
D | js_date.cpp | 169 double JSDate::MakeDate(double day, double time) in MakeDate() argument 171 if (std::isfinite(day) && std::isfinite(time)) { in MakeDate() 172 return time + day * MS_PER_DAY; in MakeDate() 310 double day = MakeDay(year, month, date); in LocalParseStringToMs() local 312 double timeValue = TimeClip(MakeDate(day, time)); in LocalParseStringToMs() 378 double day = MakeDay(year, month, date); in UtcParseStringToMs() local 380 double timeValue = TimeClip(MakeDate(day, time)); in UtcParseStringToMs() 463 double day = MakeDay(year, month - 1, date); in IsoParseStringToMs() local 465 double timeValue = TimeClip(MakeDate(day, time)); in IsoParseStringToMs() 482 double day = MakeDay(time[YEAR], time[MONTH], time[DAYS]); in GetTimeFromString() local [all …]
|
D | js_date.h | 96 static double MakeDate(double day, double time); 161 static double SetDateValues(int64_t year, int64_t month, int64_t day);
|
D | js_relative_time_format.cpp | 189 JSHandle<EcmaString> day = JSHandle<EcmaString>::Cast(globalConst->GetHandledDayString()); in SingularUnitToIcuUnit() local 213 } else if (EcmaStringAccessor::StringsAreEqual(*day, *unit) || in SingularUnitToIcuUnit() 304 JSHandle<EcmaString> day = JSHandle<EcmaString>::Cast(globalConst->GetHandledDayString()); in SingularUnitString() local 331 …if (EcmaStringAccessor::StringsAreEqual(*day, *unit) || EcmaStringAccessor::StringsAreEqual(*days,… in SingularUnitString() 332 return day; in SingularUnitString()
|
D | object_fast_operator-inl.h | 481 double day = JSDate::MakeDay(year, month - 1, date); in FastParseDate() local 482 double timeValue = JSDate::TimeClip(JSDate::MakeDate(day, 0)); in FastParseDate()
|
D | global_env_constants.h | 301 …V(JSTaggedValue, DayString, DAY_STRING_INDEX, day) …
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | useRegexpGroups.ts | 57 let day1 = result.groups.day; 59 AssertType(result.groups.day, "string");
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | builtins_stubs.h | 145 inline GateRef IsNumberYearMonthDay(GateRef year, GateRef month, GateRef day) in IsNumberYearMonthDay() argument 148 return BoolAnd(condition, TaggedIsNumber(day)); in IsNumberYearMonthDay()
|
D | builtins_stubs.cpp | 1047 GateRef day = GetArgNCheck(IntPtr(2)); in DECLARE_BUILTINS() local 1048 Branch(IsNumberYearMonthDay(year, month, day), &numberYearMonthDay, &slowPath); in DECLARE_BUILTINS() 1053 GateRef d = GetDoubleOfTNumber(day); in DECLARE_BUILTINS()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_date_test.cpp | 84 double const day = ecmascript::JSDate::MakeDay(-1, 11, 31); in HWTEST_F_L0() local 86 double ms = ecmascript::JSDate::TimeClip(ecmascript::JSDate::MakeDate(day, time)); in HWTEST_F_L0()
|
D | js_date_time_format_test.cpp | 550 …auto day = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(dateTimeArray1), 4).Ge… in HWTEST_F_L0() local 559 EXPECT_STREQ(GetDateTimePartStringTest(thread, typeKey, day).c_str(), "day"); in HWTEST_F_L0() 560 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, day).c_str(), "25"); in HWTEST_F_L0() 610 …auto day = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(dateTimeArray), 4).Get… in HWTEST_F_L0() local 630 EXPECT_STREQ(GetDateTimePartStringTest(thread, typeKey, day).c_str(), "day"); in HWTEST_F_L0() 631 EXPECT_STREQ(GetDateTimePartStringTest(thread, valueKey, day).c_str(), "25"); in HWTEST_F_L0()
|
/arkcompiler/ets_frontend/test/scripts/sdk_test/ |
D | readme.md | 22 The daily run will download the SDK built on the current day from the trunk branch and use it to pe…
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_date_time_format_test.cpp | 151 const double day = JSDate::MakeDay(year, month, date); in BuiltinsDateCreate() local 153 double days = JSDate::MakeDate(day, time); in BuiltinsDateCreate()
|
/arkcompiler/runtime_core/ |
D | CMakeLists.txt | 344 # depend on tests some day.
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | runtime_stubs.cpp | 2248 double RuntimeStubs::SetDateValues(double year, double month, double day) in SetDateValues() argument 2250 …n(year) || !std::isfinite(year) || std::isnan(month) || !std::isfinite(month) || std::isnan(day) || in SetDateValues() 2251 !std::isfinite(day)) { in SetDateValues() 2255 …:SetDateValues(static_cast<int64_t>(year), static_cast<int64_t>(month), static_cast<int64_t>(day)); in SetDateValues()
|
D | runtime_stubs.h | 384 static double SetDateValues(double year, double month, double day);
|
/arkcompiler/ets_frontend/testTs/ |
D | test-case.patch | 4447 +console.log(rtf1.format(-1, 'day')); 4448 +//expected output: "1 day ago" 4452 +console.log(rtf2.format(2, 'day')); 10622 + model: 'hour' | 'day'; 10628 + model: 'hour' | 'day' 10633 + model: 'hour' | 'day'; 10637 + model(duration: number): 'hour' | 'day'; 10642 + model: 'hour' | 'day'; 10646 + model: 'hour' | 'day'
|