Lines Matching defs:dtitvinf
26 #include "unicode/dtitvinf.h"
95 DateIntervalInfo* dtitvinf = new DateIntervalInfo(Locale::getSimplifiedChinese(), status);
97 dtitvfmt = DateIntervalFormat::createInstance("EEEdMMMyhms", *dtitvinf, status);
98 delete dtitvinf;
113 dtitvinf = new DateIntervalInfo(Locale::getSimplifiedChinese(), status);
115 dtitvfmt = DateIntervalFormat::createInstance("EEEdMMMyhms", Locale::getSimplifiedChinese(), *dtitvinf, status);
116 delete dtitvinf;
1166 LocalPointer<DateIntervalInfo> dtitvinf(new DateIntervalInfo(ec), ec);
1172 dtitvinf->getIntervalPattern(ctou("yMd"), UCAL_DATE, expected, ec);
1173 dtitvinf->setIntervalPattern(ctou("yMd"), UCAL_DATE, ctou("M/d/y \\u2013 d"), ec);
1178 dtitvinf.adoptInsteadAndCheckErrorCode(new DateIntervalInfo(ec), ec);
1184 dtitvinf->getIntervalPattern(ctou("yMd"), UCAL_DATE, actual, ec);
1290 DateIntervalInfo* dtitvinf = new DateIntervalInfo(ec);
1291 dtitvinf->setFallbackIntervalPattern("{0} --- {1}", ec);
1292 dtitvinf->setIntervalPattern(UDAT_YEAR_ABBR_MONTH_DAY, UCAL_MONTH, "yyyy MMM d - MMM y",ec);
1294 dtitvinf->setIntervalPattern(UDAT_YEAR_ABBR_MONTH_DAY, UCAL_HOUR_OF_DAY, "yyyy MMM d HH:mm - HH:mm", ec);
1296 DateIntervalFormat* dtitvfmt = DateIntervalFormat::createInstance(UDAT_YEAR_ABBR_MONTH_DAY, loc, *dtitvinf, ec);
1297 delete dtitvinf;
1298 if (!assertSuccess("createInstance(skeleton,dtitvinf) in expectUserDII", ec)) return;
1486 DateIntervalInfo* dtitvinf = new DateIntervalInfo(ec);
1487 dtitvinf->setFallbackIntervalPattern("{0} --- {1}", ec);
1488 dtitvinf->setIntervalPattern(UDAT_YEAR_ABBR_MONTH_DAY, UCAL_MONTH, "yyyy MMM d - MMM y",ec);
1490 dtitvinf->setIntervalPattern(UDAT_YEAR_ABBR_MONTH_DAY, UCAL_HOUR_OF_DAY, "yyyy MMM d HH:mm - HH:mm", ec);
1492 DateIntervalFormat* dtitvfmt = DateIntervalFormat::createInstance(UDAT_YEAR_ABBR_MONTH_DAY, loc, *dtitvinf, ec);
1493 delete dtitvinf;
1494 if (!assertSuccess("createInstance(skeleton,dtitvinf)", ec)) return;