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:
Lorenz Nickel
2023-06-30 08:59:08 +00:00
parent b800bb37f6
commit 88b969524b

View File

@@ -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.