Home | History | Annotate | Download | only in i18n

Lines Matching refs:interval

246         const DateInterval* interval = dynamic_cast<const DateInterval*>(formatObj);
247 if (interval != NULL){
248 return format(interval, appendTo, fieldPosition, status);
346 // If the first part in interval pattern is empty,
348 // For a 'real' interval pattern, the first part will never be empty.
367 // break the interval pattern into 2 parts,
554 * Initialize interval patterns locale to this formatter
557 * 1. the interval patterns saved in resource bundle files are interval
559 * It does not have interval patterns based on both date and time.
560 * Interval patterns on both date and time are algorithm generated.
562 * For example, it has interval patterns on skeleton "dMy" and "hm",
563 * but it does not have interval patterns on skeleton "dMyhm".
565 * The rule to genearte interval patterns for both date and time skeleton are
568 * For example, interval pattern from "Jan 10, 2007 10:10 am"
574 * For example, interval pattern from "Jan 10, 2007 10:10 am"
579 * the interval pattern needs to include such field if such fields are
581 * For example, a pattern/skeleton is "hm", but the interval pattern
665 // for fall back interval patterns,
680 // interval patterns for skeleton are found in resource
690 // for fall back interval patterns,
731 // the time interval.
916 * Generate date or time interval pattern from resource,
917 * and set them into the interval pattern locale to this formatter.
921 * For example, the interval patterns saved in DateIntervalInfo
923 * Need to get interval patterns for dMMMMy from dMMMy.
924 * Another example, the interval patterns saved in DateIntervalInfo
926 * Need to get interval patterns for "hmz' from 'hmv'
929 * in order to get interval patterns for 'y' differ,
935 * TRUE if interval pattern found for the skeleton,
945 // the final interval pattern might include time interval patterns
947 // but not date interval patterns ( when year, month, day differ ).
955 /* interval patterns for skeleton "dMMMy" (but not "dMMMMy")
957 * interval patterns for skeleton "dMMMMy" are calculated by
959 * 2. get the interval patterns for "dMMMy",
960 * 3. extend "MMM" to "MMMM" in above interval patterns for "dMMMMy"
969 interval format is defined as following
973 there is no skeletons/interval patterns defined,
1039 // for fall back interval patterns,
1108 * Generate interval pattern from existing resource
1110 * It not only save the interval patterns,
1115 * @param bestSkeleton the best match skeleton which has interval pattern
1125 * @return whether the interval pattern is found
1127 * TRUE if interval pattern is found by
1149 // for 24 hour system, interval patterns in resource file
1164 // if found, adjust field width in interval pattern from
1230 * the first repeated pattern letter, which breaks the interval pattern
1463 // it should not happen if the interval format defined is valid