Lines Matching full:skeleton
41 * is done, a query can be made using a "skeleton", which is a pattern which just
43 * pattern corresponding to that skeleton.
44 * <p>The main method people will use is getBestPattern(String skeleton),
122 * Utility to return a unique skeleton from a given pattern. For example,
123 * both "MMM-dd" and "dd/MMM" produce the skeleton "MMMdd".
128 * @return skeleton such as "MMMdd"
134 * Utility to return a unique skeleton from a given pattern. For example,
135 * both "MMM-dd" and "dd/MMM" produce the skeleton "MMMdd".
142 * @return skeleton such as "MMMdd"
153 * Utility to return a unique base skeleton from a given pattern. This is
154 * the same as the skeleton, except that differences in length are minimized
156 * for example, both "MMM-dd" and "d/MMM" produce the skeleton "MMMd"
162 * @return base skeleton, such as "MMMd"
168 * Utility to return a unique base skeleton from a given pattern. This is
169 * the same as the skeleton, except that differences in length are minimized
171 * for example, both "MMM-dd" and "d/MMM" produce the skeleton "MMMd"
179 * @return base skeleton, such as "MMMd"
190 * Adds a pattern to the generator. If the pattern has the same skeleton as
202 * @param conflictingPattern Previous pattern with the same skeleton.
221 * good match. For example, suppose that the input skeleton is "GyyyyMMMd",
279 * This is used when the input skeleton contains both date and time fields,
282 * its datetimeFormat is the default "{1} {0}". Then if the input skeleton
283 * is "MMMdhmm", there is not an exact match, so the input skeleton is
303 * Return the best pattern matching the input skeleton. It is guaranteed to
304 * have all of the fields in the skeleton.
306 * @param skeleton
307 * The skeleton is a pattern containing only the variable fields.
312 * The best pattern found from the given skeleton.
320 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status);
324 * Return the best pattern matching the input skeleton. It is guaranteed to
325 * have all of the fields in the skeleton.
327 * @param skeleton
328 * The skeleton is a pattern containing only the variable fields.
332 * returned pattern to match those in the skeleton (when this
339 * The best pattern found from the given skeleton.
342 UnicodeString getBestPattern(const UnicodeString& skeleton,
349 * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a
350 * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be
352 * input skeleton, but can also be used externally.
355 * @param skeleton
356 * The skeleton is a pattern containing only the variable fields.
360 * @return pattern adjusted to match the skeleton fields widths and subtypes.
369 const UnicodeString& skeleton,
374 * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a
375 * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be
377 * input skeleton, but can also be used externally.
380 * @param skeleton
381 * The skeleton is a pattern containing only the variable fields.
385 * pattern are adjusted to match those in the skeleton (when this
391 * @return pattern adjusted to match the skeleton fields widths and subtypes.
395 const UnicodeString& skeleton,
413 * Get the pattern corresponding to a given skeleton.
414 * @param skeleton
415 * @return pattern corresponding to a given skeleton.
418 const UnicodeString& getPatternForSkeleton(const UnicodeString& skeleton) const;
449 * skeleton contains fractional seconds, then this is used with the