Home | History | Annotate | Download | only in unicode

Lines Matching full:skeleton

43  * is done, a query can be made using a "skeleton", which is a pattern which just
45 * pattern corresponding to that skeleton.
46 * <p>The main method people will use is getBestPattern(String skeleton),
124 * Utility to return a unique skeleton from a given pattern. For example,
125 * both "MMM-dd" and "dd/MMM" produce the skeleton "MMMdd".
130 * @return skeleton such as "MMMdd"
136 * Utility to return a unique skeleton from a given pattern. For example,
137 * both "MMM-dd" and "dd/MMM" produce the skeleton "MMMdd".
144 * @return skeleton such as "MMMdd"
155 * Utility to return a unique base skeleton from a given pattern. This is
156 * the same as the skeleton, except that differences in length are minimized
158 * for example, both "MMM-dd" and "d/MMM" produce the skeleton "MMMd"
164 * @return base skeleton, such as "MMMd"
170 * Utility to return a unique base skeleton from a given pattern. This is
171 * the same as the skeleton, except that differences in length are minimized
173 * for example, both "MMM-dd" and "d/MMM" produce the skeleton "MMMd"
181 * @return base skeleton, such as "MMMd"
192 * Adds a pattern to the generator. If the pattern has the same skeleton as
204 * @param conflictingPattern Previous pattern with the same skeleton.
223 * good match. For example, suppose that the input skeleton is "GyyyyMMMd",
281 * This is used when the input skeleton contains both date and time fields,
284 * its datetimeFormat is the default "{1} {0}". Then if the input skeleton
285 * is "MMMdhmm", there is not an exact match, so the input skeleton is
305 * Return the best pattern matching the input skeleton. It is guaranteed to
306 * have all of the fields in the skeleton.
308 * @param skeleton
309 * The skeleton is a pattern containing only the variable fields.
314 * The best pattern found from the given skeleton.
322 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status);
326 * Return the best pattern matching the input skeleton. It is guaranteed to
327 * have all of the fields in the skeleton.
329 * @param skeleton
330 * The skeleton is a pattern containing only the variable fields.
334 * returned pattern to match those in the skeleton (when this
341 * The best pattern found from the given skeleton.
344 UnicodeString getBestPattern(const UnicodeString& skeleton,
351 * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a
352 * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be
354 * input skeleton, but can also be used externally.
357 * @param skeleton
358 * The skeleton is a pattern containing only the variable fields.
362 * @return pattern adjusted to match the skeleton fields widths and subtypes.
371 const UnicodeString& skeleton,
376 * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a
377 * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be
379 * input skeleton, but can also be used externally.
382 * @param skeleton
383 skeleton is a pattern containing only the variable fields.
387 * pattern are adjusted to match those in the skeleton (when this
393 * @return pattern adjusted to match the skeleton fields widths and subtypes.
397 const UnicodeString& skeleton,
415 * Get the pattern corresponding to a given skeleton.
416 * @param skeleton
417 * @return pattern corresponding to a given skeleton.
420 const UnicodeString& getPatternForSkeleton(const UnicodeString& skeleton) const;
451 * skeleton contains fractional seconds, then this is used with the