Home
last modified time | relevance | path

Searched refs:toUtcOffsetString (Results 1 – 3 of 3) sorted by relevance

/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DUtilsTest.java28 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()
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DUtils.java71 static String toUtcOffsetString(long offsetMillis) { in toUtcOffsetString() method in Utils
DTzLookupGenerator.java465 + timeZoneIdIn + " is " + Utils.toUtcOffsetString(actualOffsetMillis) in validateNonDstOffset()
466 + " and not " + Utils.toUtcOffsetString(utcOffsetMillis) in validateNonDstOffset()