Home
last modified time | relevance | path

Searched refs:utc (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/format/
DDateIntervalFormatTest.java341 TimeZone utc = TimeZone.getTimeZone("UTC"); in test10089890() local
347 formatDateRange(l, utc, 0, DAY + 1, flags)); in test10089890()
366 TimeZone utc = TimeZone.getTimeZone("UTC"); in test10318326() local
369 assertEquals("00:00", formatDateRange(l, utc, midnight, midnight, time24)); in test10318326()
370 assertEquals("12:00 AM", formatDateRange(l, utc, midnight, midnight, time12)); in test10318326()
371 assertEquals("16:00", formatDateRange(l, utc, teaTime, teaTime, time24)); in test10318326()
372 assertEquals("4:00 PM", formatDateRange(l, utc, teaTime, teaTime, time12)); in test10318326()
375 assertEquals("00:00", formatDateRange(l, utc, midnight, midnight, abbr24)); in test10318326()
376 assertEquals("12 AM", formatDateRange(l, utc, midnight, midnight, abbr12)); in test10318326()
377 assertEquals("16:00", formatDateRange(l, utc, teaTime, teaTime, abbr24)); in test10318326()
[all …]
/frameworks/ex/common/java/com/android/common/
DLegacyHttpDateTime.java111 TimeZone utc = TimeZone.getTimeZone("UTC"); in parse() local
112 GregorianCalendar calendar = new GregorianCalendar(utc); in parse()
/frameworks/base/cmds/incident_helper/testdata/
Dsystem_properties.txt10 [ro.bootimage.build.date.utc]: [1509394807]
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java874 ZonedDateTime utc = ZonedDateTime.now(ZoneOffset.UTC); in getTimeNowForLogcat() local
877 return utc.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSS")); in getTimeNowForLogcat()