Lines Matching refs:spec
76 * Headers { "locale","spec", "date", "str"}
78 // spec: either 'PATTERN=y mm h' etc, or 'DATE=SHORT,TIME=LONG'
79 // date: either an unsigned long (millis), or a calendar spec ERA=0,YEAR=1, etc.. applied to the calendar type specified by the locale
133 UnicodeString spec = currentCase->getString("spec", status);
135 errln("case %d: No 'spec' line.", n);
154 if(spec.startsWith(kPATTERN)) {
155 pattern = UnicodeString(spec,kPATTERN.length());
163 if(styleSet.parseFrom(spec, status)<0 || U_FAILURE(status)) {
164 errln("case %d: could not parse spec as style fields: %s", n, u_errorName(status));