public final synchronized StringBuffer format ( DateInterval dtInterval , StringBuffer appendTo , FieldPosition fieldPosition ) { fFromCalendar . setTimeInMillis ( dtInterval . getFromDate ( ) ) ; fToCalendar . setTimeInMillis ( dtInterval . getToDate ( ) ) ; return format ( fFromCalendar , fToCalendar , appendTo , fieldPosition ) ; }
Format a DateInterval to produce a string .