Clarify that formatDateRange accepts a timezone id.
It is not very clear what this parameter is supposed to be unless someone follows the code further. Timezones also have a display name for example, which would also make sense as a parameter here. Change-Id: I7e1092ba02cedf6ae819fd97fa6e317f3231c616
This commit is contained in:
@@ -743,7 +743,7 @@ public class DateUtils
|
||||
* @param startMillis the start time in UTC milliseconds
|
||||
* @param endMillis the end time in UTC milliseconds
|
||||
* @param flags a bit mask of options
|
||||
* @param timeZone the time zone to compute the string in. Use null for local
|
||||
* @param timeZone the id of the time zone to compute the string in. Use null for local
|
||||
* or if the FORMAT_UTC flag is being used.
|
||||
*
|
||||
* @return the formatter with the formatted date/time range appended to the string buffer.
|
||||
|
||||
Reference in New Issue
Block a user