Lines Matching full:skeleton
38 * is done, a query can be made using a "skeleton", which is a pattern which just
40 * pattern corresponding to that skeleton.
41 * <p>The main method people will use is getBestPattern(String skeleton),
108 * Utility to return a unique skeleton from a given pattern. For example,
109 * both "MMM-dd" and "dd/MMM" produce the skeleton "MMMdd".
114 * @return skeleton such as "MMMdd"
120 * Utility to return a unique base skeleton from a given pattern. This is
121 * the same as the skeleton, except that differences in length are minimized
123 * for example, both "MMM-dd" and "d/MMM" produce the skeleton "MMMd"
129 * @return base skeleton, such as "Md"
135 * Adds a pattern to the generator. If the pattern has the same skeleton as
147 * @param conflictingPattern Previous pattern with the same skeleton.
166 * good match. For example, suppose that the input skeleton is "GyyyyMMMd",
222 * This is used when the input skeleton contains both date and time fields,
225 * its datetimeFormat is the default "{0} {1}". Then if the input skeleton
226 * is "MMMdhmm", there is not an exact match, so the input skeleton is
246 * Return the best pattern matching the input skeleton. It is guaranteed to
247 * have all of the fields in the skeleton.
249 * @param skeleton
250 * The skeleton is a pattern containing only the variable fields.
255 * The best pattern found from the given skeleton.
263 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status);
267 * Return the best pattern matching the input skeleton. It is guaranteed to
268 * have all of the fields in the skeleton.
270 * @param skeleton
271 * The skeleton is a pattern containing only the variable fields.
275 * returned pattern to match those in the skeleton (when this
282 * The best pattern found from the given skeleton.
285 UnicodeString getBestPattern(const UnicodeString& skeleton,
292 * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a
293 * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be
295 * input skeleton, but can also be used externally.
298 * @param skeleton
299 * The skeleton is a pattern containing only the variable fields.
303 * @return pattern adjusted to match the skeleton fields widths and subtypes.
312 const UnicodeString& skeleton,
317 * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a
318 * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be
320 * input skeleton, but can also be used externally.
323 * @param skeleton
324 * The skeleton is a pattern containing only the variable fields.
328 * pattern are adjusted to match those in the skeleton (when this
334 * @return pattern adjusted to match the skeleton fields widths and subtypes.
338 const UnicodeString& skeleton,
356 * Get the pattern corresponding to a given skeleton.
357 * @param skeleton
358 * @return pattern corresponding to a given skeleton.
361 const UnicodeString& getPatternForSkeleton(const UnicodeString& skeleton) const;
392 * skeleton contains fractional seconds, then this is used with the