Home | History | Annotate | Download | only in intltest

Lines Matching refs:date

9  * Date        Name        Description
76 * Headers { "locale", "zone", "spec", "date", "str"}
79 // spec: either 'PATTERN=y mm h' etc, or 'DATE=SHORT,TIME=LONG'
80 // date: either an unsigned long (millis), or a calendar spec ERA=0,YEAR=1, etc.. applied to the calendar type specified by the locale
86 "DATE=SHORT,TIME=SHORT",
87 "ERA=1,YEAR=2007,MONTH=AUGUST,DATE=8,HOUR=18,MINUTE=54,SECOND=12",
146 UnicodeString date = currentCase->getString("date", status);
148 errln("case %d: No 'date' line.", n);
194 // parse 'date'
195 if(date.startsWith(kMILLIS)) {
196 UnicodeString millis = UnicodeString(date, kMILLIS.length());
199 } else if(date.startsWith(kRELATIVE_MILLIS)) {
200 UnicodeString millis = UnicodeString(date, kRELATIVE_MILLIS.length());
203 } else if(date.startsWith(kRELATIVE_ADD)) {
204 UnicodeString add = UnicodeString(date, kRELATIVE_ADD.length()); // "add" is a string indicating which fields to add
206 errln("case %d: could not parse date as RELATIVE_ADD calendar fields: %s", n, u_errorName(status));
227 errln("case %d: could not apply date as RELATIVE_ADD calendar fields: %s", n, u_errorName(status));
230 } else if(fromSet.parseFrom(date, status)<0 || U_FAILURE(status)) {
231 errln("case %d: could not parse date as calendar fields: %s", n, u_errorName(status));