Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/
Djs_date_time_format.h24 enum class DefaultsOption : uint8_t { DATE = 0x01, TIME, ALL }; enumerator
26 enum class RequiredOption : uint8_t { DATE = 0x01, TIME, ANY }; enumerator
28 enum class IcuCacheType : uint8_t {NOT_CACHE, DEFAULT, DATE, TIME}; enumerator
Djs_date_time_format.cpp471 case IcuCacheType::TIME: in InitializeDateTimeFormat()
566 if (required == RequiredOption::TIME || required == RequiredOption::ANY) { in ToDateTimeOptions()
604 if (required == RequiredOption::TIME && !dateStyle->IsUndefined()) { in ToDateTimeOptions()
628 if (needDefaults && (defaults == DefaultsOption::TIME || defaults == DefaultsOption::ALL)) { in ToDateTimeOptions()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_date.cpp428 … JSDateTimeFormat::ToDateTimeOptions(thread, options, RequiredOption::TIME, DefaultsOption::TIME); in ToLocaleTimeString()
434 IcuCacheType type = cacheable ? IcuCacheType::TIME : IcuCacheType::NOT_CACHE; in ToLocaleTimeString()