Searched refs:toUtcOffsetString (Results 1 – 3 of 3) sorted by relevance
28 import static com.android.libcore.timezone.tzlookup.Utils.toUtcOffsetString;74 assertEquals("00:00", toUtcOffsetString(0)); in utcOffsets()82 assertEquals("01:00", toUtcOffsetString(hourInMillis)); in utcOffsets()83 assertEquals("-01:00", toUtcOffsetString(-hourInMillis)); in utcOffsets()91 assertEquals("01:30", toUtcOffsetString(hourAndAHalfInMillis)); in utcOffsets()92 assertEquals("-01:30", toUtcOffsetString(-hourAndAHalfInMillis)); in utcOffsets()98 assertEquals("01:10", toUtcOffsetString(hourAndTenInMillis)); in utcOffsets()99 assertEquals("-01:10", toUtcOffsetString(-hourAndTenInMillis)); in utcOffsets()
71 static String toUtcOffsetString(long offsetMillis) { in toUtcOffsetString() method in Utils
465 + timeZoneIdIn + " is " + Utils.toUtcOffsetString(actualOffsetMillis) in validateNonDstOffset()466 + " and not " + Utils.toUtcOffsetString(utcOffsetMillis) in validateNonDstOffset()