Lines Matching refs:DateInterval
22 import com.ibm.icu.util.DateInterval;
37 * We introduced class DateInterval to represent it.
38 * DateInterval is a pair of UDate, which is
42 * DateIntervalFormat formats a DateInterval into
46 * And it parses text into DateInterval,
55 * So, formatting a DateInterval is pattern-driven. It is very
194 * DateInterval dtInterval = new DateInterval(1000*3600*24L, 1000*3600*24*2L);
565 * objects with a DateInterval type.
566 * If a the Formattable object type is not a DateInterval,
570 * Must be a DateInterval.
577 * DateInterval object
583 if ( obj instanceof DateInterval ) {
584 return format( (DateInterval)obj, appendTo, fieldPosition);
587 throw new IllegalArgumentException("Cannot format given Object (" + obj.getClass().getName() + ") as a DateInterval");
592 * Format a DateInterval to produce a string.
594 * @param dtInterval DateInterval to be formatted.
602 public final StringBuffer format(DateInterval dtInterval,
819 * DateInterval type, which is a pair of UDate.