DateUtils.formatDateRange is using String.format which isn't efficient for formatting large number of strings. I have added the Formatter parameter which allows the caller to reuse the formatter of subsequent calls for faster performance.
DateUtils.formatDateRange is using String.format which isn't efficient for formatting large number of strings. I have added the Formatter parameter which allows the caller to reuse the formatter of subsequent calls for faster performance.