Lines Matching refs:date
19 * \brief C++ API: Format and parse date interval in a language-independent manner.
35 * DateIntervalFormat is a class for formatting and parsing date
40 * Date interval means from one date to another date,
49 * For example, the date interval format from "Jan 11, 2008" to "Jan 18,. 2008"
55 * There is no structural information in date time patterns.
56 * For any punctuations and string literals inside a date time pattern,
62 * We introduce class DateIntervalInfo to save date interval
63 * patterns, similar to date time pattern in SimpleDateFormat.
91 * in date time patterns, will be returned without honor the field pattern
96 * year, month, date, day-of-week, am-pm, hour, hour-of-day, and minute.
98 * year > month > date > hour (in day) > minute
117 * is "year", the date interval pattern is "MMM d, yyyy - MMM d, yyyy",
120 * the date interval pattern is "MMM d - MMM d, yyyy",
123 * the date interval pattern is "MMM d-d, yyyy", such as "Jan 10-20, 2007".
125 * For date skeleton, the interval patterns when year, or month, or date is
139 * For the combination of date and time,
151 * otherwise, present the date followed by the range expression
160 * If two dates are the same, the interval pattern is the single date pattern.
165 * the interval pattern is the single date pattern.
171 * formatting: time zone, calendar type, pattern, date format symbols,
172 * and date interval patterns.
177 * Users are encouraged to created date interval formatter this way and
189 * DateIntervalInfo provides the date interval patterns.
202 * // the date interval object which the DateIntervalFormat formats on
231 * @return a date time interval formatter which the caller owns.
242 * the date interval pattern information is load from resource files.
243 * Users are encouraged to created date interval formatter this way and
263 * @return a date time interval formatter which the caller owns.
284 * @return a date time interval formatter which the caller owns.
297 * In this factory method, user provides its own date interval pattern
324 * @return a date time interval formatter which the caller owns.
415 * @param fromCalendar calendar set to the from date in date interval
416 * to be formatted into date interval string
417 * @param toCalendar calendar set to the to date in date interval
418 * to be formatted into date interval string
436 * Date interval parsing is not supported. Please do not use.
439 * date time interval strings into Formattable objects with
467 * Gets the date time interval patterns.
468 * @return the date time interval patterns associated with
469 * this date interval formatter.
476 * Set the date time interval patterns.
486 * Gets the date formatter
487 * @return the date formatter associated with this date interval formatter.
537 * Interval pattern consists of 2 single date patterns and the separator.
539 * a single date pattern "MMM d", another single date pattern "MMM d, yyyy",
543 * Also, the first date appears in an interval pattern could be
544 * the earlier date or the later date.
552 * Whether the first date in interval pattern is later date or not.
557 * For example, given 2 date, Jan 10, 2007 to Feb 10, 2007.
578 * full pattern, and date format symbols information.
587 * @param locale the locale of this date interval formatter.
589 * @param skeleton the skeleton of the date formatter
603 * @param locale the locale of this date interval formatter.
607 * @return a date time interval formatter which the caller owns.
616 * Create a simple date/time formatter from skeleton, given locale,
617 * and date time pattern generator.
619 * @param skeleton the skeleton on which date format based.
621 * @param dtpng the date time pattern generator.
623 * If it is failure, the returned date formatter will
625 * @return a simple date formatter which the caller owns.
644 * full pattern of the date formatter.
646 * @param fromCalendar calendar set to the from date in date interval
647 * to be formatted into date interval string
648 * @param toCalendar calendar set to the to date in date interval
649 * to be formatted into date interval string
671 * patterns based on date or time only.
672 * It does not have interval patterns based on both date and time.
673 * Interval patterns on both date and time are algorithm generated.
678 * The rule to generate interval patterns for both date and time skeleton are
685 * 2) otherwise, present the date followed by the range expression
695 * includes year, month, and date when year, month, and date differs.
707 * a skeleton, and a date time pattern generator.
720 * get separated date and time skeleton from a combined skeleton.
722 * The difference between date skeleton and normalizedDateSkeleton are:
735 * @param date Output parameter for date only skeleton.
736 * @param normalizedDate Output parameter for normalized date only
745 UnicodeString& date,
753 * Generate date or time interval pattern from resource,
769 * @param dateSkeleton normalized date skeleton
828 * Since date interval format is well-formed format,
829 * date and time skeletons are normalized previously,
850 * Concat a single date pattern with a time interval pattern,
853 * both time and date. Present the date followed by
855 * @param format date and time format
857 * @param datePattern date pattern
902 * @param laterDateFirst whether later date appear first in interval pattern
916 * @param laterDateFirst whether the first date in intervalPattern
917 * is earlier date or later date
941 * The 2 calendars with the from and to date.
949 * Date time pattern generator