Lines Matching refs:sdf
260 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); in TestWallyWedel() local
268 if (sdf != NULL) { in TestWallyWedel()
269 delete sdf; in TestWallyWedel()
312 sdf->setTimeZone(*ttz); in TestWallyWedel()
318 sdf->format(today,fmtOffset, pos); in TestWallyWedel()
348 delete sdf; in TestWallyWedel()
911 SimpleDateFormat* sdf = (SimpleDateFormat*)DateFormat::createDateInstance(); in TestDayOfYearPattern195() local
912 if (sdf == NULL){ in TestDayOfYearPattern195()
916 tryPattern(*sdf, today, 0, expected); in TestDayOfYearPattern195()
917 tryPattern(*sdf, today, "G yyyy DDD", expected); in TestDayOfYearPattern195()
918 delete sdf; in TestDayOfYearPattern195()
925 DateFormatTest::tryPattern(SimpleDateFormat& sdf, UDate d, const char* pattern, UDate expected) in tryPattern() argument
928 if (pattern != 0) sdf.applyPattern(pattern); in tryPattern()
930 logln((UnicodeString)"pattern: " + sdf.toPattern(thePat)); in tryPattern()
931 UnicodeString formatResult; (*(DateFormat*)&sdf).format(d, formatResult); in tryPattern()
934 UDate d2 = sdf.parse(formatResult, status); in tryPattern()
937 UnicodeString format2; (*(DateFormat*)&sdf).format(d2, format2); in tryPattern()
3934 SimpleDateFormat sdf(pattern, numsys_override, Locale::getChina(),status); in TestFormalChineseDate() local
3942 sdf.format(thedate,result,pos); in TestFormalChineseDate()
3950 UDate parsedate = sdf.parse(expected,status); in TestFormalChineseDate()
3965 SimpleDateFormat sdf("ZZZZ", Locale(""), status); in TestStandAloneGMTParse() local
3972 sdf.parse(inText, pos); in TestStandAloneGMTParse()
4002 SimpleDateFormat sdf(UnicodeString(TestData[i][0]), status); in TestParsePosition() local
4020 (void)sdf.parse(input, pos); in TestParsePosition()
4942 SimpleDateFormat sdf(UnicodeString(), errorCode); in TestAmPmMidnightNoon() local
4948 sdf.setTimeZone(*tz); in TestAmPmMidnightNoon()
4955 sdf.applyPattern(UnicodeString("hh:mm:ss bbb")); in TestAmPmMidnightNoon()
4958 assertEquals("hh:mm:ss bbb | 00:00:00", "12:00:00 AM", sdf.format(k000000, out.remove())); in TestAmPmMidnightNoon()
4959 assertEquals("hh:mm:ss bbb | 00:00:30", "12:00:30 AM", sdf.format(k000030, out.remove())); in TestAmPmMidnightNoon()
4960 assertEquals("hh:mm:ss bbb | 00:30:00", "12:30:00 AM", sdf.format(k003000, out.remove())); in TestAmPmMidnightNoon()
4961 assertEquals("hh:mm:ss bbb | 06:00:00", "06:00:00 AM", sdf.format(k060000, out.remove())); in TestAmPmMidnightNoon()
4962 assertEquals("hh:mm:ss bbb | 12:00:00", "12:00:00 noon", sdf.format(k120000, out.remove())); in TestAmPmMidnightNoon()
4963 assertEquals("hh:mm:ss bbb | 18:00:00", "06:00:00 PM", sdf.format(k180000, out.remove())); in TestAmPmMidnightNoon()
4965 sdf.applyPattern(UnicodeString("hh:mm bbb")); in TestAmPmMidnightNoon()
4968 assertEquals("hh:mm bbb | 00:00:00", "12:00 AM", sdf.format(k000000, out.remove())); in TestAmPmMidnightNoon()
4970 assertEquals("hh:mm bbb | 00:00:30", "12:00 AM", sdf.format(k000030, out.remove())); in TestAmPmMidnightNoon()
4971 assertEquals("hh:mm bbb | 00:30:00", "12:30 AM", sdf.format(k003000, out.remove())); in TestAmPmMidnightNoon()
4973 sdf.applyPattern(UnicodeString("hh bbb")); in TestAmPmMidnightNoon()
4976 assertEquals("hh bbb | 00:00:00", "12 AM", sdf.format(k000000, out.remove())); in TestAmPmMidnightNoon()
4978 assertEquals("hh bbb | 00:00:30", "12 AM", sdf.format(k000030, out.remove())); in TestAmPmMidnightNoon()
4980 assertEquals("hh bbb | 00:30:00", "12 AM", sdf.format(k003000, out.remove())); in TestAmPmMidnightNoon()
4983 sdf.applyPattern(UnicodeString("hh:mm:ss bbbb")); in TestAmPmMidnightNoon()
4986 assertEquals("hh:mm:ss bbbb | 00:00:00", "12:00:00 AM", sdf.format(k000000, out.remove())); in TestAmPmMidnightNoon()
4987 assertEquals("hh:mm:ss bbbb | 00:00:30", "12:00:30 AM", sdf.format(k000030, out.remove())); in TestAmPmMidnightNoon()
4988 assertEquals("hh:mm:ss bbbb | 00:30:00", "12:30:00 AM", sdf.format(k003000, out.remove())); in TestAmPmMidnightNoon()
4989 assertEquals("hh:mm:ss bbbb | 06:00:00", "06:00:00 AM", sdf.format(k060000, out.remove())); in TestAmPmMidnightNoon()
4990 assertEquals("hh:mm:ss bbbb | 12:00:00", "12:00:00 noon", sdf.format(k120000, out.remove())); in TestAmPmMidnightNoon()
4991 assertEquals("hh:mm:ss bbbb | 18:00:00", "06:00:00 PM", sdf.format(k180000, out.remove())); in TestAmPmMidnightNoon()
4993 sdf.applyPattern(UnicodeString("hh:mm bbbb")); in TestAmPmMidnightNoon()
4996 assertEquals("hh:mm bbbb | 00:00:00", "12:00 AM", sdf.format(k000000, out.remove())); in TestAmPmMidnightNoon()
4998 assertEquals("hh:mm bbbb | 00:00:30", "12:00 AM", sdf.format(k000030, out.remove())); in TestAmPmMidnightNoon()
4999 assertEquals("hh:mm bbbb | 00:30:00", "12:30 AM", sdf.format(k003000, out.remove())); in TestAmPmMidnightNoon()
5001 sdf.applyPattern(UnicodeString("hh bbbb")); in TestAmPmMidnightNoon()
5004 assertEquals("hh bbbb | 00:00:00", "12 AM", sdf.format(k000000, out.remove())); in TestAmPmMidnightNoon()
5006 assertEquals("hh bbbb | 00:00:30", "12 AM", sdf.format(k000030, out.remove())); in TestAmPmMidnightNoon()
5008 assertEquals("hh bbbb | 00:30:00", "12 AM", sdf.format(k003000, out.remove())); in TestAmPmMidnightNoon()
5011 sdf.applyPattern(UnicodeString("hh:mm:ss bbbbb")); in TestAmPmMidnightNoon()
5014 assertEquals("hh:mm:ss bbbbb | 00:00:00", "12:00:00 a", sdf.format(k000000, out.remove())); in TestAmPmMidnightNoon()
5015 assertEquals("hh:mm:ss bbbbb | 00:00:30", "12:00:30 a", sdf.format(k000030, out.remove())); in TestAmPmMidnightNoon()
5016 assertEquals("hh:mm:ss bbbbb | 00:30:00", "12:30:00 a", sdf.format(k003000, out.remove())); in TestAmPmMidnightNoon()
5017 assertEquals("hh:mm:ss bbbbb | 06:00:00", "06:00:00 a", sdf.format(k060000, out.remove())); in TestAmPmMidnightNoon()
5018 assertEquals("hh:mm:ss bbbbb | 12:00:00", "12:00:00 n", sdf.format(k120000, out.remove())); in TestAmPmMidnightNoon()
5019 assertEquals("hh:mm:ss bbbbb | 18:00:00", "06:00:00 p", sdf.format(k180000, out.remove())); in TestAmPmMidnightNoon()
5021 sdf.applyPattern(UnicodeString("hh:mm bbbbb")); in TestAmPmMidnightNoon()
5024 assertEquals("hh:mm bbbbb | 00:00:00", "12:00 a", sdf.format(k000000, out.remove())); in TestAmPmMidnightNoon()
5026 assertEquals("hh:mm bbbbb | 00:00:30", "12:00 a", sdf.format(k000030, out.remove())); in TestAmPmMidnightNoon()
5027 assertEquals("hh:mm bbbbb | 00:30:00", "12:30 a", sdf.format(k003000, out.remove())); in TestAmPmMidnightNoon()
5029 sdf.applyPattern(UnicodeString("hh bbbbb")); in TestAmPmMidnightNoon()
5032 assertEquals("hh bbbbb | 00:00:00", "12 a", sdf.format(k000000, out.remove())); in TestAmPmMidnightNoon()
5034 assertEquals("hh bbbbb | 00:00:30", "12 a", sdf.format(k000030, out.remove())); in TestAmPmMidnightNoon()
5036 assertEquals("hh bbbbb | 00:30:00", "12 a", sdf.format(k003000, out.remove())); in TestAmPmMidnightNoon()
5049 SimpleDateFormat sdf(UnicodeString(), errorCode); in TestFlexibleDayPeriod() local
5055 sdf.setTimeZone(*tz); in TestFlexibleDayPeriod()
5062 sdf.applyPattern(UnicodeString("hh:mm:ss BBB")); in TestFlexibleDayPeriod()
5065 assertEquals("hh:mm:ss BBB | 00:00:00", "12:00:00 at night", sdf.format(k000000, out.remove())); in TestFlexibleDayPeriod()
5066 assertEquals("hh:mm:ss BBB | 00:00:30", "12:00:30 at night", sdf.format(k000030, out.remove())); in TestFlexibleDayPeriod()
5067 assertEquals("hh:mm:ss BBB | 00:30:00", "12:30:00 at night", sdf.format(k003000, out.remove())); in TestFlexibleDayPeriod()
5068 …assertEquals("hh:mm:ss BBB | 06:00:00", "06:00:00 in the morning", sdf.format(k060000, out.remove(… in TestFlexibleDayPeriod()
5069 assertEquals("hh:mm:ss BBB | 12:00:00", "12:00:00 noon", sdf.format(k120000, out.remove())); in TestFlexibleDayPeriod()
5070 …assertEquals("hh:mm:ss BBB | 18:00:00", "06:00:00 in the evening", sdf.format(k180000, out.remove(… in TestFlexibleDayPeriod()
5072 sdf.applyPattern(UnicodeString("hh:mm BBB")); in TestFlexibleDayPeriod()
5075 assertEquals("hh:mm BBB | 00:00:00", "12:00 at night", sdf.format(k000000, out.remove())); in TestFlexibleDayPeriod()
5077 assertEquals("hh:mm BBB | 00:00:00", "12:00 at night", sdf.format(k000000, out.remove())); in TestFlexibleDayPeriod()
5078 assertEquals("hh:mm BBB | 00:30:00", "12:30 at night", sdf.format(k003000, out.remove())); in TestFlexibleDayPeriod()
5080 sdf.applyPattern(UnicodeString("hh BBB")); in TestFlexibleDayPeriod()
5083 assertEquals("hh BBB | 00:00:30", "12 at night", sdf.format(k000030, out.remove())); in TestFlexibleDayPeriod()
5085 assertEquals("hh BBB | 00:00:30", "12 at night", sdf.format(k000030, out.remove())); in TestFlexibleDayPeriod()
5087 assertEquals("hh BBB | 00:30:00", "12 at night", sdf.format(k003000, out.remove())); in TestFlexibleDayPeriod()
5090 sdf.applyPattern(UnicodeString("hh:mm:ss BBBB")); in TestFlexibleDayPeriod()
5093 … assertEquals("hh:mm:ss BBBB | 00:00:00", "12:00:00 at night", sdf.format(k000000, out.remove())); in TestFlexibleDayPeriod()
5094 … assertEquals("hh:mm:ss BBBB | 00:00:30", "12:00:30 at night", sdf.format(k000030, out.remove())); in TestFlexibleDayPeriod()
5095 … assertEquals("hh:mm:ss BBBB | 00:30:00", "12:30:00 at night", sdf.format(k003000, out.remove())); in TestFlexibleDayPeriod()
5096 …assertEquals("hh:mm:ss BBBB | 06:00:00", "06:00:00 in the morning", sdf.format(k060000, out.remove… in TestFlexibleDayPeriod()
5097 assertEquals("hh:mm:ss BBBB | 12:00:00", "12:00:00 noon", sdf.format(k120000, out.remove())); in TestFlexibleDayPeriod()
5098 …assertEquals("hh:mm:ss BBBB | 18:00:00", "06:00:00 in the evening", sdf.format(k180000, out.remove… in TestFlexibleDayPeriod()
5100 sdf.applyPattern(UnicodeString("hh:mm BBBB")); in TestFlexibleDayPeriod()
5103 assertEquals("hh:mm BBBB | 00:00:00", "12:00 at night", sdf.format(k000000, out.remove())); in TestFlexibleDayPeriod()
5105 assertEquals("hh:mm BBBB | 00:00:30", "12:00 at night", sdf.format(k000030, out.remove())); in TestFlexibleDayPeriod()
5106 assertEquals("hh:mm BBBB | 00:30:00", "12:30 at night", sdf.format(k003000, out.remove())); in TestFlexibleDayPeriod()
5108 sdf.applyPattern(UnicodeString("hh BBBB")); in TestFlexibleDayPeriod()
5111 assertEquals("hh BBBB | 00:00:00", "12 at night", sdf.format(k000000, out.remove())); in TestFlexibleDayPeriod()
5113 assertEquals("hh BBBB | 00:00:00", "12 at night", sdf.format(k000000, out.remove())); in TestFlexibleDayPeriod()
5115 assertEquals("hh BBBB | 00:00:00", "12 at night", sdf.format(k000000, out.remove())); in TestFlexibleDayPeriod()
5118 sdf.applyPattern(UnicodeString("hh:mm:ss BBBBB")); in TestFlexibleDayPeriod()
5121 … assertEquals("hh:mm:ss BBBBB | 00:00:00", "12:00:00 at night", sdf.format(k000000, out.remove())); in TestFlexibleDayPeriod()
5122 … assertEquals("hh:mm:ss BBBBB | 00:00:30", "12:00:30 at night", sdf.format(k000030, out.remove())); in TestFlexibleDayPeriod()
5123 … assertEquals("hh:mm:ss BBBBB | 00:30:00", "12:30:00 at night", sdf.format(k003000, out.remove())); in TestFlexibleDayPeriod()
5124 …assertEquals("hh:mm:ss BBBBB | 06:00:00", "06:00:00 in the morning", sdf.format(k060000, out.remov… in TestFlexibleDayPeriod()
5125 assertEquals("hh:mm:ss BBBBB | 12:00:00", "12:00:00 n", sdf.format(k120000, out.remove())); in TestFlexibleDayPeriod()
5126 …assertEquals("hh:mm:ss BBBBB | 18:00:00", "06:00:00 in the evening", sdf.format(k180000, out.remov… in TestFlexibleDayPeriod()
5128 sdf.applyPattern(UnicodeString("hh:mm BBBBB")); in TestFlexibleDayPeriod()
5131 assertEquals("hh:mm BBBBB | 00:00:00", "12:00 at night", sdf.format(k000000, out.remove())); in TestFlexibleDayPeriod()
5133 assertEquals("hh:mm BBBBB | 00:00:30", "12:00 at night", sdf.format(k000030, out.remove())); in TestFlexibleDayPeriod()
5134 assertEquals("hh:mm BBBBB | 00:30:00", "12:30 at night", sdf.format(k003000, out.remove())); in TestFlexibleDayPeriod()
5136 sdf.applyPattern(UnicodeString("hh BBBBB")); in TestFlexibleDayPeriod()
5139 assertEquals("hh BBBBB | 00:00:00", "12 at night", sdf.format(k000000, out.remove())); in TestFlexibleDayPeriod()
5141 assertEquals("hh BBBBB | 00:00:30", "12 at night", sdf.format(k000030, out.remove())); in TestFlexibleDayPeriod()
5143 assertEquals("hh BBBBB | 00:30:00", "12 at night", sdf.format(k003000, out.remove())); in TestFlexibleDayPeriod()
5161 SimpleDateFormat sdf(UnicodeString(), Locale::getGermany(), errorCode); in TestDayPeriodWithLocales() local
5166 sdf.setTimeZone(*tz); in TestDayPeriodWithLocales()
5168 sdf.applyPattern(UnicodeString("hh:mm:ss bbbb")); in TestDayPeriodWithLocales()
5173 sdf.format(k000000, out.remove())); in TestDayPeriodWithLocales()
5175 sdf.format(k120000, out.remove())); in TestDayPeriodWithLocales()
5178 sdf = SimpleDateFormat(UnicodeString(), Locale("ee"), errorCode); in TestDayPeriodWithLocales()
5179 sdf.setTimeZone(*tz); in TestDayPeriodWithLocales()
5181 sdf.applyPattern(UnicodeString("hh:mm:ss BBBB")); in TestDayPeriodWithLocales()
5184 sdf.format(k220000, out.remove())); in TestDayPeriodWithLocales()
5186 sdf.format(k000000, out.remove())); in TestDayPeriodWithLocales()
5188 sdf.format(k010000, out.remove())); in TestDayPeriodWithLocales()
5191 sdf = SimpleDateFormat(UnicodeString(), Locale("root"), errorCode); in TestDayPeriodWithLocales()
5192 sdf.setTimeZone(*tz); in TestDayPeriodWithLocales()
5194 sdf.applyPattern(UnicodeString("hh:mm:ss BBBB")); in TestDayPeriodWithLocales()
5197 sdf.format(k000000, out.remove())); in TestDayPeriodWithLocales()
5199 sdf.format(k120000, out.remove())); in TestDayPeriodWithLocales()
5202 sdf = SimpleDateFormat(UnicodeString(), Locale(""), errorCode); in TestDayPeriodWithLocales()
5203 sdf.setTimeZone(*tz); in TestDayPeriodWithLocales()
5205 sdf.applyPattern(UnicodeString("hh:mm:ss BBBB")); in TestDayPeriodWithLocales()
5208 sdf.format(k000000, out.remove())); in TestDayPeriodWithLocales()
5210 sdf.format(k120000, out.remove())); in TestDayPeriodWithLocales()
5213 sdf = SimpleDateFormat(UnicodeString(), Locale("en_US"), errorCode); in TestDayPeriodWithLocales()
5214 sdf.setTimeZone(*tz); in TestDayPeriodWithLocales()
5216 sdf.applyPattern(UnicodeString("hh:mm:ss BBBB")); in TestDayPeriodWithLocales()
5221 sdf.format(k000000, out.remove())); in TestDayPeriodWithLocales()
5223 sdf.format(k010000, out.remove())); in TestDayPeriodWithLocales()
5225 sdf.format(k120000, out.remove())); in TestDayPeriodWithLocales()
5230 sdf = SimpleDateFormat(UnicodeString(), Locale("es_CO"), errorCode); in TestDayPeriodWithLocales()
5231 sdf.setTimeZone(*tz); in TestDayPeriodWithLocales()
5233 sdf.applyPattern(UnicodeString("hh:mm:ss BBBB")); in TestDayPeriodWithLocales()
5235 sdf.format(k010000, out.remove())); in TestDayPeriodWithLocales()
5237 sdf = SimpleDateFormat(UnicodeString(), Locale("es"), errorCode); in TestDayPeriodWithLocales()
5238 sdf.setTimeZone(*tz); in TestDayPeriodWithLocales()
5240 sdf.applyPattern(UnicodeString("hh:mm:ss BBBB")); in TestDayPeriodWithLocales()
5242 sdf.format(k010000, out.remove())); in TestDayPeriodWithLocales()
5246 sdf = SimpleDateFormat(UnicodeString(), Locale("en@calendar=buddhist"), errorCode); in TestDayPeriodWithLocales()
5247 sdf.setTimeZone(*tz); in TestDayPeriodWithLocales()
5249 sdf.applyPattern(UnicodeString("hh:mm:ss BBBB")); in TestDayPeriodWithLocales()
5251 sdf.format(k010000, out.remove())); in TestDayPeriodWithLocales()
5272 SimpleDateFormat sdf(UnicodeString("hh:mm 'ss' bbbb"), errorCode); in TestMinuteSecondFieldsInOddPlaces() local
5277 sdf.setTimeZone(*tz); in TestMinuteSecondFieldsInOddPlaces()
5282 sdf.format(k000030, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5284 sdf.format(k060030, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5286 sdf.applyPattern(UnicodeString("hh:mm 'ss' BBBB")); in TestMinuteSecondFieldsInOddPlaces()
5291 sdf.format(k000030, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5293 sdf.format(k060030, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5296 sdf.applyPattern(UnicodeString("hh 'mm ss' bbbb")); in TestMinuteSecondFieldsInOddPlaces()
5301 sdf.format(k003000, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5303 sdf.format(k063000, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5305 sdf.applyPattern(UnicodeString("hh 'mm ss' BBBB")); in TestMinuteSecondFieldsInOddPlaces()
5310 sdf.format(k003000, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5312 sdf.format(k063000, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5315 sdf.applyPattern(UnicodeString("bbbb hh:mm:ss")); in TestMinuteSecondFieldsInOddPlaces()
5320 sdf.format(k000000, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5322 sdf.format(k000030, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5324 sdf.format(k003000, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5326 sdf.applyPattern(UnicodeString("BBBB hh:mm:ss")); in TestMinuteSecondFieldsInOddPlaces()
5331 sdf.format(k000000, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5333 sdf.format(k000030, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5335 sdf.format(k003000, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5338 sdf.applyPattern(UnicodeString("BBBB hh")); in TestMinuteSecondFieldsInOddPlaces()
5342 sdf.format(k000030, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5344 sdf.applyPattern(UnicodeString("BBBB hh:mm:'ss'")); in TestMinuteSecondFieldsInOddPlaces()
5348 sdf.format(k000030, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5350 sdf.applyPattern(UnicodeString("BBBB hh:mm:ss")); in TestMinuteSecondFieldsInOddPlaces()
5352 sdf.format(k000030, out.remove())); in TestMinuteSecondFieldsInOddPlaces()
5373 SimpleDateFormat sdf(UnicodeString(), errorCode); in TestDayPeriodParsing() local
5379 sdf.setTimeZone(*tz); in TestDayPeriodParsing()
5384 sdf.applyPattern(UnicodeString("yyyy-MM-dd B")); in TestDayPeriodParsing()
5386 k000000, sdf.parse(UnicodeString("2015-11-13 midnight"), errorCode)); in TestDayPeriodParsing()
5388 k120000, sdf.parse(UnicodeString("2015-11-13 noon"), errorCode)); in TestDayPeriodParsing()
5390 k150000, sdf.parse(UnicodeString("2015-11-13 in the afternoon"), errorCode)); in TestDayPeriodParsing()
5392 k193000, sdf.parse(UnicodeString("2015-11-13 in the evening"), errorCode)); in TestDayPeriodParsing()
5394 k013000, sdf.parse(UnicodeString("2015-11-13 at night"), errorCode)); in TestDayPeriodParsing()
5397 sdf.applyPattern(UnicodeString("yyyy-MM-dd hh:mm B")); in TestDayPeriodParsing()
5399 k000000, sdf.parse(UnicodeString("2015-11-13 12:00 midnight"), errorCode)); in TestDayPeriodParsing()
5401 k120000, sdf.parse(UnicodeString("2015-11-13 12:00 noon"), errorCode)); in TestDayPeriodParsing()
5403 k010000, sdf.parse(UnicodeString("2015-11-13 01:00 at night"), errorCode)); in TestDayPeriodParsing()
5405 k130000, sdf.parse(UnicodeString("2015-11-13 01:00 in the afternoon"), errorCode)); in TestDayPeriodParsing()
5407 k090000, sdf.parse(UnicodeString("2015-11-13 09:00 in the morning"), errorCode)); in TestDayPeriodParsing()
5409 k210000, sdf.parse(UnicodeString("2015-11-13 09:00 at night"), errorCode)); in TestDayPeriodParsing()
5413 sdf.applyPattern(UnicodeString("yyyy-MM-dd HH:mm B")); in TestDayPeriodParsing()
5415 k133700, sdf.parse(UnicodeString("2015-11-13 13:37 midnight"), errorCode)); in TestDayPeriodParsing()
5417 k133700, sdf.parse(UnicodeString("2015-11-13 13:37 noon"), errorCode)); in TestDayPeriodParsing()
5419 k133700, sdf.parse(UnicodeString("2015-11-13 13:37 at night"), errorCode)); in TestDayPeriodParsing()
5421 k133700, sdf.parse(UnicodeString("2015-11-13 13:37 in the afternoon"), errorCode)); in TestDayPeriodParsing()
5423 k133700, sdf.parse(UnicodeString("2015-11-13 13:37 in the morning"), errorCode)); in TestDayPeriodParsing()
5425 k133700, sdf.parse(UnicodeString("2015-11-13 13:37 at night"), errorCode)); in TestDayPeriodParsing()
5429 sdf.applyPattern(UnicodeString("yyyy-MM-dd hh:mm B")); in TestDayPeriodParsing()
5431 k000000, sdf.parse(UnicodeString("2015-11-13 00:00 midnight"), errorCode)); in TestDayPeriodParsing()
5433 k120000, sdf.parse(UnicodeString("2015-11-13 00:00 noon"), errorCode)); in TestDayPeriodParsing()
5436 sdf.applyPattern(UnicodeString("yyyy-MM-dd HH:mm B")); in TestDayPeriodParsing()
5438 k003700, sdf.parse(UnicodeString("2015-11-13 00:37 midnight"), errorCode)); in TestDayPeriodParsing()
5440 k003700, sdf.parse(UnicodeString("2015-11-13 00:37 noon"), errorCode)); in TestDayPeriodParsing()
5442 k003700, sdf.parse(UnicodeString("2015-11-13 00:37 at night"), errorCode)); in TestDayPeriodParsing()
5444 k003700, sdf.parse(UnicodeString("2015-11-13 00:37 in the afternoon"), errorCode)); in TestDayPeriodParsing()
5446 k003700, sdf.parse(UnicodeString("2015-11-13 00:37 in the morning"), errorCode)); in TestDayPeriodParsing()
5448 k003700, sdf.parse(UnicodeString("2015-11-13 00:37 at night"), errorCode)); in TestDayPeriodParsing()
5452 sdf.applyPattern(UnicodeString("yyyy-MM-dd HH:mm B")); in TestDayPeriodParsing()
5454 k000000, sdf.parse(UnicodeString("2015-11-13 12:00 midnight"), errorCode)); in TestDayPeriodParsing()
5456 k120000, sdf.parse(UnicodeString("2015-11-13 12:00 noon"), errorCode)); in TestDayPeriodParsing()
5458 k010000, sdf.parse(UnicodeString("2015-11-13 01:00 at night"), errorCode)); in TestDayPeriodParsing()
5460 k130000, sdf.parse(UnicodeString("2015-11-13 01:00 in the afternoon"), errorCode)); in TestDayPeriodParsing()
5462 k090000, sdf.parse(UnicodeString("2015-11-13 09:00 in the morning"), errorCode)); in TestDayPeriodParsing()
5464 k210000, sdf.parse(UnicodeString("2015-11-13 09:00 at night"), errorCode)); in TestDayPeriodParsing()
5468 sdf.applyPattern(UnicodeString("yyyy-MM-dd hh:mm B")); in TestDayPeriodParsing()
5472 k190000, sdf.parse(UnicodeString("2015-11-13 07:00 in the afternoon"), errorCode)); in TestDayPeriodParsing()
5475 k200000, sdf.parse(UnicodeString("2015-11-13 08:00 at night"), errorCode)); in TestDayPeriodParsing()
5480 sdf.applyPattern(UnicodeString("yyyy-MM-dd b")); in TestDayPeriodParsing()
5482 k000000, sdf.parse(UnicodeString("2015-11-13 midnight"), errorCode)); in TestDayPeriodParsing()
5484 k120000, sdf.parse(UnicodeString("2015-11-13 noon"), errorCode)); in TestDayPeriodParsing()
5487 sdf.applyPattern(UnicodeString("yyyy-MM-dd hh:mm b")); in TestDayPeriodParsing()
5489 k010000, sdf.parse(UnicodeString("2015-11-13 01:00 AM"), errorCode)); in TestDayPeriodParsing()
5491 k130000, sdf.parse(UnicodeString("2015-11-13 01:00 PM"), errorCode)); in TestDayPeriodParsing()
5495 k000000, sdf.parse(UnicodeString("2015-11-13 12:00 midnight"), errorCode)); in TestDayPeriodParsing()
5497 k120000, sdf.parse(UnicodeString("2015-11-13 12:00 noon"), errorCode)); in TestDayPeriodParsing()
5501 sdf.applyPattern(UnicodeString("yyyy-MM-dd HH:mm b")); in TestDayPeriodParsing()
5503 k133700, sdf.parse(UnicodeString("2015-11-13 13:37 midnight"), errorCode)); in TestDayPeriodParsing()
5505 k133700, sdf.parse(UnicodeString("2015-11-13 13:37 noon"), errorCode)); in TestDayPeriodParsing()
5509 sdf.applyPattern(UnicodeString("yyyy-MM-dd hh:mm b")); in TestDayPeriodParsing()
5511 k000000, sdf.parse(UnicodeString("2015-11-13 00:00 midnight"), errorCode)); in TestDayPeriodParsing()
5513 k120000, sdf.parse(UnicodeString("2015-11-13 00:00 noon"), errorCode)); in TestDayPeriodParsing()
5516 sdf.applyPattern(UnicodeString("yyyy-MM-dd HH:mm b")); in TestDayPeriodParsing()
5518 k003700, sdf.parse(UnicodeString("2015-11-13 00:37 midnight"), errorCode)); in TestDayPeriodParsing()
5520 k003700, sdf.parse(UnicodeString("2015-11-13 00:37 noon"), errorCode)); in TestDayPeriodParsing()
5524 sdf.applyPattern(UnicodeString("yyyy-MM-dd hh:mm b")); in TestDayPeriodParsing()
5526 k030000, sdf.parse(UnicodeString("2015-11-13 03:00 midnight"), errorCode)); in TestDayPeriodParsing()
5528 k150000, sdf.parse(UnicodeString("2015-11-13 03:00 noon"), errorCode)); in TestDayPeriodParsing()
5548 SimpleDateFormat sdf( in TestAdoptCalendarLeak() local
5555 sdf.adoptCalendar(Calendar::createInstance(status)); in TestAdoptCalendarLeak()