Home
last modified time | relevance | path

Searched refs:dayValue (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Ddate_parse.cpp25 DayValue dayValue; in ParseDateString() local
28 bool isIso = IsIsoDateTime(&proxy, &dayValue); in ParseDateString()
31 result = ParseIsoDateTime(&proxy, &dayValue, &timeValue, &timeZone); in ParseDateString()
33 result = ParseLegacyDates(&proxy, &dayValue, &timeValue, &timeZone); in ParseDateString()
36 …bool success = timeZone.SetTimeZone(time) && timeValue.SetTimeValue(time) && dayValue.SetDayValue(… in ParseDateString()
43 bool DateParse::IsIsoDateTime(DateProxy *proxy, DayValue *dayValue) in IsIsoDateTime() argument
57 dayValue->SetData(signYear); in IsIsoDateTime()
60 dayValue->SetData(year); in IsIsoDateTime()
70 dayValue->SetData(mon.GetValue()); in IsIsoDateTime()
78 dayValue->SetData(day.GetValue()); in IsIsoDateTime()
[all …]
Ddate_parse.h525 static bool IsIsoDateTime(DateProxy *proxy, DayValue *dayValue);
526 static bool ParseIsoDateTime(DateProxy *proxy, DayValue *dayValue, TimeValue *timeValue,
528 static bool ParseLegacyDates(DateProxy *proxy, DayValue *dayValue, TimeValue *timeValue,
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_date_time_format_test.cpp81 JSHandle<JSTaggedValue> dayValue(factory->NewFromASCII(dateOptions["day"].c_str())); in SetDateOptionsTest() local
86 JSObject::SetProperty(thread, optionsObj, dayKey, dayValue); in SetDateOptionsTest()