Home | History | Annotate | Download | only in unicode

Lines Matching refs: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.
161 * good match. For example, suppose that the input skeleton is "GyyyyMMMd",
217 * This is used when the input skeleton contains both date and time fields,
220 * its datetimeFormat is the default "{0} {1}". Then if the input skeleton
221 * is "MMMdhmm", there is not an exact match, so the input skeleton is
241 * Return the best pattern matching the input skeleton. It is guaranteed to
242 * have all of the fields in the skeleton.
244 * @param skeleton
245 * The skeleton is a pattern containing only the variable fields.
250 * The best pattern found from the given skeleton.
253 UnicodeString getBestPattern(const UnicodeString& skeleton, UErrorCode& status);
257 * Return the best pattern matching the input skeleton. It is guaranteed to
258 * have all of the fields in the skeleton.
260 * @param skeleton
261 * The skeleton is a pattern containing only the variable fields.
265 * returned pattern to match those in the skeleton (when this
272 * The best pattern found from the given skeleton.
275 UnicodeString getBestPattern(const UnicodeString& skeleton,
282 * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a
283 * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be
285 * input skeleton, but can also be used externally.
288 * @param skeleton
289 * The skeleton is a pattern containing only the variable fields.
293 * @return pattern adjusted to match the skeleton fields widths and subtypes.
297 const UnicodeString& skeleton,
302 * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a
303 * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be
305 * input skeleton, but can also be used externally.
308 * @param skeleton
309 * The skeleton is a pattern containing only the variable fields.
313 * pattern are adjusted to match those in the skeleton (when this
319 * @return pattern adjusted to match the skeleton fields widths and subtypes.
323 const UnicodeString& skeleton,
341 * Get the pattern corresponding to a given skeleton.
342 * @param skeleton
343 * @return pattern corresponding to a given skeleton.
346 const UnicodeString& getPatternForSkeleton(const UnicodeString& skeleton) const;
377 * skeleton contains fractional seconds, then this is used with the