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

Commit 09ea291f authored by Joachim Sauer's avatar Joachim Sauer
Browse files

Make getGmtOffsetText public.

Change getGmtOffsetText() from private to public to allow callers more
granular control over generated text.

Bug: 62255208
Test: builds
Change-Id: Idaf602ac20765a21719d4140a6e8ea30dec8672a
parent 5ef174d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -271,7 +271,7 @@ public class ZoneGetter {
     * @param now The current time, used to tell whether daylight savings is active.
     * @return A CharSequence suitable for display as the offset label of {@code tz}.
     */
    private static CharSequence getGmtOffsetText(TimeZoneFormat tzFormatter, Locale locale,
    public static CharSequence getGmtOffsetText(TimeZoneFormat tzFormatter, Locale locale,
            TimeZone tz, Date now) {
        final SpannableStringBuilder builder = new SpannableStringBuilder();