Home | History | Annotate | Download | only in intltest

Lines Matching defs:string

232      * A String array for the time zone ids.
532 // String str;
639 logln(UnicodeString("Pattern \"") + pat + "\" String \"" + str + "\"");
736 logln((UnicodeString)"pattern=" + fmt->toPattern(pattern) + " string=" + str);
749 logln((UnicodeString)"Formatted string: " + formatted);
993 "bogus string", 0, 0, 0, 0, 0, 0, 0, 0, 0,
1008 "bogus string", 0, 0, 0, 0, 0, 0, 0, 0, 0,
1765 * [0] = pattern string to parse [i+2] with
1770 * [i+1] = input string
1839 * [0] = pattern string to parse [i+2] with
1844 * [i+1] = control string, either "fp", "pf", or "F".
1847 * The number of data strings depends on the control string.
1850 * 'f': Format date [i+2] (as parsed using pattern [0]) and expect string [i+3].
1851 * 'p': Parse string [i+3] and expect date [i+4].
1854 * 'F': Format date [i+2] and expect string [i+3],
1855 * then parse string [i+3] and expect date [i+2].
1858 * 'p': Parse string [i+2] and expect date [i+3].
1859 * 'f': Format date [i+3] and expect string [i+4].
1887 const char* string = data[i++];
1891 ctou(string),
1897 UDate parsedate = fmt.parse(ctou(string), ec);
1898 if (assertSuccess((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")", ec)) {
1899 assertEquals((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")",
1907 const char* string = data[i++];
1911 UDate parsedate = fmt.parse(ctou(string), ec);
1912 if (assertSuccess((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")", ec)) {
1913 assertEquals((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")",
1918 string = data[i++];
1920 ctou(string),
1926 const char* string = data[i++];
1930 ctou(string),
1933 UDate parsedate = fmt.parse(string, ec);
1934 if (assertSuccess((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")", ec)) {
1935 assertEquals((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")",
1942 errln((UnicodeString)"FAIL: Invalid control string " + control);
1952 * [0] = pattern string to parse [i+2] with
1957 * [i+1] = data string a
1958 * [i+2] = data string b
1961 * Format date [i+1] and expect string [i+2].
1988 const char* string = data[i++];
1992 ctou(string),
2008 // non-generic timezone string influences dst offset even if wrong for date/time
2048 // non-generic timezone string influences dst offset even if wrong for date/time
2128 // generic times should parse the same no matter what the placement of the time zone string
2289 // calculate the expected string
3353 errln((UnicodeString)"FAIL: Different parse result with a different calendar for the same string -"
3356 + "\n Date string=" + refStr
3718 // create input string
3721 // parse string to date
3725 // format date back to string
3775 // Incorrect parse offset with stand alone GMT string on 2nd or later iteration.
3799 // {<pattern>, <lead>, <date string>, <trail>}
3825 // date string
3952 ", string \"" + result + "\", expected " + datePtr->year +"-"+datePtr->month+"("+datePtr->isLeapMonth+")-"+datePtr->day + ", got pos " +
4103 ", string \"" + result + "\", expected " + caftItemPtr->year +"-"+caftItemPtr->month+"-"+caftItemPtr->day + ", got pos " +