Home
last modified time | relevance | path

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

/test/vti/dashboard/src/main/java/com/android/vts/util/
DTimeUtil.java42 ZonedDateTime zdt = ZonedDateTime.ofInstant(Instant.ofEpochMilli(timeMillis), PT_ZONE); in getDateTimeZoneString() local
43 return DateTimeFormatter.ofPattern(DATE_TIME_ZONE_FORMAT).format(zdt); in getDateTimeZoneString()
54 ZonedDateTime zdt = ZonedDateTime.ofInstant(Instant.ofEpochMilli(timeMillis), PT_ZONE); in getDateString() local
55 return DateTimeFormatter.ofPattern(DATE_FORMAT).format(zdt); in getDateString()
66 ZonedDateTime zdt = ZonedDateTime.ofInstant(Instant.ofEpochMilli(timeMillis), PT_ZONE); in getDateTimeString() local
67 return DateTimeFormatter.ofPattern(DATE_TIME_FORMAT).format(zdt); in getDateTimeString()
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsProfilingStatsJobServletTest.java181 ZonedDateTime zdt = ZonedDateTime.of(now, TimeUtil.PT_ZONE); in testCanonicalTimeMidday() local
182 long time = TimeUnit.SECONDS.toMicros(zdt.toEpochSecond()); in testCanonicalTimeMidday()
202 ZonedDateTime zdt = ZonedDateTime.of(now, TimeUtil.PT_ZONE); in testCanonicalTimeMidnight() local
203 long time = TimeUnit.SECONDS.toMicros(zdt.toEpochSecond()); in testCanonicalTimeMidnight()
208 assertEquals(zdt, canonical); in testCanonicalTimeMidnight()
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsProfilingStatsJobServlet.java78 ZonedDateTime zdt = in getCanonicalTime() local
81 zdt.withHour(0).withMinute(0).withSecond(0).toEpochSecond()); in getCanonicalTime()