Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88b96952 authored by Lorenz Nickel's avatar Lorenz Nickel
Browse files

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
parent b800bb37
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.