Home | History | Annotate | Download | only in unicode

Lines Matching refs:skeleton

39  * is done, a query can be made using a "skeleton", which is a pattern which just
41 * pattern corresponding to that skeleton.
42 * <p>The main method people will use is getBestPattern(String skeleton),
120 * Utility to return a unique skeleton from a given pattern. For example,
121 * both "MMM-dd" and "dd/MMM" produce the skeleton "MMMdd".
126 * @return skeleton such as "MMMdd"
132 * Utility to return a unique base skeleton from a given pattern. This is
133 * the same as the skeleton, except that differences in length are minimized
135 * for example, both "MMM-dd" and "d/MMM" produce the skeleton "MMMd"
141 * @return base skeleton, such as "Md"
147 * Adds a pattern to the generator. If the pattern has the same skeleton as
159 * @param conflictingPattern Previous pattern with the same skeleton.
178 * good match. For example, suppose that the input skeleton is "GyyyyMMMd",
236 * This is used when the input skeleton contains both date and time fields,
239 * its datetimeFormat is the default "{1} {0}". Then if the input skeleton
240 * is "MMMdhmm", there is not an exact match, so the input skeleton is
260 * Return the best pattern matching the input skeleton. It is guaranteed to
261 * have all of the fields in the skeleton.
263 * @param skeleton
264 * The skeleton is a pattern containing only the variable fields.
269 * The best pattern found from the given skeleton.
277 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status);
281 * Return the best pattern matching the input skeleton. It is guaranteed to
282 * have all of the fields in the skeleton.
284 * @param skeleton
285 * The skeleton is a pattern containing only the variable fields.
289 * returned pattern to match those in the skeleton (when this
296 * The best pattern found from the given skeleton.
299 UnicodeString getBestPattern(const UnicodeString& skeleton,
306 * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a
307 * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be
309 * input skeleton, but can also be used externally.
312 * @param skeleton
313 * The skeleton is a pattern containing only the variable fields.
317 * @return pattern adjusted to match the skeleton fields widths and subtypes.
326 const UnicodeString& skeleton,
331 * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a
332 * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be
334 * input skeleton, but can also be used externally.
337 * @param skeleton
338 * The skeleton is a pattern containing only the variable fields.
342 * pattern are adjusted to match those in the skeleton (when this
348 * @return pattern adjusted to match the skeleton fields widths and subtypes.
352 const UnicodeString& skeleton,
370 * Get the pattern corresponding to a given skeleton.
371 * @param skeleton
372 * @return pattern corresponding to a given skeleton.
375 const UnicodeString& getPatternForSkeleton(const UnicodeString& skeleton) const;
406 * skeleton contains fractional seconds, then this is used with the