Searched refs:dateFormat (Results 1 – 3 of 3) sorted by relevance
50 if (!createSuccess || !dateFormat) { in DateTimeFormat()57 if (!localeInfo || !dateFormat) { in DateTimeFormat()72 if (dateFormat != nullptr) { in FreeDateTimeFormat()73 delete dateFormat; in FreeDateTimeFormat()74 dateFormat = nullptr; in FreeDateTimeFormat()89 …if (dateIntvFormat == nullptr || calendar == nullptr || dateFormat == nullptr || localeInfo == nul… in CheckInitSuccess()147 if (dateFormat != nullptr) { in InitWithDefaultLocale()148 delete dateFormat; in InitWithDefaultLocale()149 dateFormat = nullptr; in InitWithDefaultLocale()156 dateFormat = DateFormat::createDateInstance(DateFormat::SHORT, locale); in InitDateFormatWithoutConfigs()[all …]
90 DateTimeFormat *dateFormat = new (std::nothrow) DateTimeFormat(locales, options); variable91 if (!dateFormat) {96 string out = dateFormat->Format(milliseconds);98 EXPECT_EQ(dateFormat->GetYear(), "numeric");99 EXPECT_EQ(dateFormat->GetMonth(), "long");100 EXPECT_EQ(dateFormat->GetDay(), "numeric");101 EXPECT_EQ(dateFormat->GetHour(), "numeric");102 EXPECT_EQ(dateFormat->GetMinute(), "2-digit");103 EXPECT_EQ(dateFormat->GetSecond(), "numeric");104 EXPECT_EQ(dateFormat->GetWeekday(), "long");[all …]
81 icu::DateFormat *dateFormat = nullptr; variable