Home | History | Annotate | Download | only in intltest

Lines Matching defs:string

233      * A String array for the time zone ids.
543 // String str;
650 logln(UnicodeString("Pattern \"") + pat + "\" String \"" + str + "\"");
747 logln((UnicodeString)"pattern=" + fmt->toPattern(pattern) + " string=" + str);
760 logln((UnicodeString)"Formatted string: " + formatted);
1004 "bogus string", 0, 0, 0, 0, 0, 0, 0, 0, 0,
1019 "bogus string", 0, 0, 0, 0, 0, 0, 0, 0, 0,
1800 * [0] = pattern string to parse [i+2] with
1805 * [i+1] = input string
1874 * [0] = pattern string to parse [i+2] with
1879 * [i+1] = control string, either "fp", "pf", or "F".
1882 * The number of data strings depends on the control string.
1885 * 'f': Format date [i+2] (as parsed using pattern [0]) and expect string [i+3].
1886 * 'p': Parse string [i+3] and expect date [i+4].
1889 * 'F': Format date [i+2] and expect string [i+3],
1890 * then parse string [i+3] and expect date [i+2].
1893 * 'p': Parse string [i+2] and expect date [i+3].
1894 * 'f': Format date [i+3] and expect string [i+4].
1922 const char* string = data[i++];
1926 ctou(string),
1932 UDate parsedate = fmt.parse(ctou(string), ec);
1933 if (assertSuccess((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")", ec)) {
1934 assertEquals((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")",
1942 const char* string = data[i++];
1946 UDate parsedate = fmt.parse(ctou(string), ec);
1947 if (assertSuccess((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")", ec)) {
1948 assertEquals((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")",
1953 string = data[i++];
1955 ctou(string),
1961 const char* string = data[i++];
1965 ctou(string),
1968 UDate parsedate = fmt.parse(string, ec);
1969 if (assertSuccess((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")", ec)) {
1970 assertEquals((UnicodeString)"\"" + currentPat + "\".parse(" + string + ")",
1977 errln((UnicodeString)"FAIL: Invalid control string " + control);
1987 * [0] = pattern string to parse [i+2] with
1992 * [i+1] = data string a
1993 * [i+2] = data string b
1996 * Format date [i+1] and expect string [i+2].
2023 const char* string = data[i++];
2027 ctou(string),
2043 // non-generic timezone string influences dst offset even if wrong for date/time
2083 // non-generic timezone string influences dst offset even if wrong for date/time
2163 // generic times should parse the same no matter what the placement of the time zone string
2324 // calculate the expected string
3365 errln((UnicodeString)"FAIL: Different parse result with a different calendar for the same string -"
3368 + "\n Date string=" + refStr
3736 // create input string
3739 // parse string to date
3743 // format date back to string
3793 // Incorrect parse offset with stand alone GMT string on 2nd or later iteration.
3817 // {<pattern>, <lead>, <date string>, <trail>}
3843 // date string
3978 ", string \"" + result + "\", expected " + datePtr->year +"-"+datePtr->month+"("+datePtr->isLeapMonth+")-"+datePtr->day + ", got pos " +
4129 ", string \"" + result + "\", expected " + caftItemPtr->year +"-"+caftItemPtr->month+"-"+caftItemPtr->day + ", got pos " +