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.
912 * Generate date or time interval pattern from resource,
913 * and set them into the interval pattern locale to this formatter.
917 * For example, the interval patterns saved in DateIntervalInfo
919 * Need to get interval patterns for dMMMMy from dMMMy.
920 * Another example, the interval patterns saved in DateIntervalInfo
922 * Need to get interval patterns for "hmz' from 'hmv'
925 * in order to get interval patterns for 'y' differ,
931 * TRUE if interval pattern found for the skeleton,
941 // the final interval pattern might include time interval patterns
943 // but not date interval patterns ( when year, month, day differ ).
951 /* interval patterns for skeleton "dMMMy" (but not "dMMMMy")
953 * interval patterns for skeleton "dMMMMy" are calculated by
955 * 2. get the interval patterns for "dMMMy",
956 * 3. extend "MMM" to "MMMM" in above interval patterns for "dMMMMy"
965 interval format is defined as following
969 there is no skeletons/interval patterns defined,
1035 // for fall back interval patterns,
1104 * Generate interval pattern from existing resource
1106 * It not only save the interval patterns,
1111 * @param bestSkeleton the best match skeleton which has interval pattern
1121 * @return whether the interval pattern is found
1123 * TRUE if interval pattern is found by
1145 // for 24 hour system, interval patterns in resource file
1160 // if found, adjust field width in interval pattern from
1226 * the first repeated pattern letter, which breaks the interval pattern
1459 // it should not happen if the interval format defined is valid