Lines Matching full:skeleton
30 * patterns. Once that is done, a query can be made using a "skeleton", which is
32 * will return the "best fit" pattern corresponding to that skeleton.
92 * pattern to match those in the skeleton (when this would not happen
187 * Get the best pattern matching the input skeleton. It is guaranteed to
188 * have all of the fields in the skeleton.
197 * @param skeleton
198 * The skeleton is a pattern containing only the variable fields.
200 * @param length the length of skeleton
202 * The best pattern found from the given skeleton.
211 const UChar *skeleton, int32_t length,
216 * Get the best pattern matching the input skeleton. It is guaranteed to
217 * have all of the fields in the skeleton.
226 * @param skeleton
227 * The skeleton is a pattern containing only the variable fields.
229 * @param length the length of skeleton
232 * returned pattern to match those in the skeleton (when this
236 * The best pattern found from the given skeleton.
247 const UChar *skeleton, int32_t length,
253 * Get a unique skeleton from a given pattern. For example,
254 * both "MMM-dd" and "dd/MMM" produce the skeleton "MMMdd".
265 * @param skeleton such as "MMMdd"
266 * @param capacity the capacity of skeleton.
269 * @return the length of skeleton.
275 UChar *skeleton, int32_t capacity,
279 * Get a unique base skeleton from a given pattern. This is the same
280 * as the skeleton, except that differences in length are minimized so
282 * for example, both "MMM-dd" and "d/MMM" produce the skeleton "MMMd"
295 * @param capacity the capacity of base skeleton.
308 * Adds a pattern to the generator. If the pattern has the same skeleton as
322 * @param conflictingPattern Previous pattern with the same skeleton.
340 * good match. For example, suppose that the input skeleton is "GyyyyMMMd",
416 * This is used when the input skeleton contains both date and time fields,
419 * its datetimeFormat is the default "{0} {1}". Then if the input skeleton
420 * is "MMMdhmm", there is not an exact match, so the input skeleton is
449 * skeleton contains fractional seconds, then this is used with the
478 * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a
479 * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be
481 * input skeleton, but can also be used externally.
492 * @param skeleton
493 * @param skeletonLength the length of input skeleton.
494 * @param dest pattern adjusted to match the skeleton fields widths and subtypes.
504 const UChar *skeleton, int32_t skeletonLength,
510 * in a skeleton. That is, if you supply a pattern like "d-M H:m", and a
511 * skeleton of "MMMMddhhmm", then the input pattern is adjusted to be
513 * input skeleton, but can also be used externally.
524 * @param skeleton
525 * @param skeletonLength the length of input skeleton.
528 * pattern are adjusted to match those in the skeleton (when this
531 * @param dest pattern adjusted to match the skeleton fields widths and subtypes.
541 const UChar *skeleton, int32_t skeletonLength,
574 * Get the pattern corresponding to a given skeleton.
577 * @param skeleton
578 * @param skeletonLength pointer to the length of skeleton.
580 * @return pattern corresponding to a given skeleton.
585 const UChar *skeleton, int32_t skeletonLength,