Home
last modified time | relevance | path

Searched refs:TimeUtil (Results 1 – 9 of 9) sorted by relevance

/test/vti/dashboard/src/test/java/com/android/vts/util/
DTimeUtilTest.java30 String timeString = TimeUtil.getDateTimeZoneString(time); in testFormatDateTime()
39 String timeString = TimeUtil.getDateString(time); in testFormatDate()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DTimeUtil.java26 public class TimeUtil { class
27 protected static final Logger logger = Logger.getLogger(TimeUtil.class.getName());
DEmailHelper.java80 sb.append("Start Time: " + TimeUtil.getDateTimeZoneString(testRun.getStartTimestamp())); in getEmailFooter()
81 sb.append("<br>End Time: " + TimeUtil.getDateTimeZoneString(testRun.getEndTimestamp())); in getEmailFooter()
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsSuiteTestJobServlet.java24 import com.android.vts.util.TimeUtil;
117 ZonedDateTime checkZonedDateTime = TimeUtil.getZonedDateTime(currentMicroSecond); in doGet()
119 DateTimeFormatter.ofPattern(TimeUtil.DATE_FORMAT) in doGet()
121 String todayDateString = TimeUtil.getDateString(currentMicroSecond); in doGet()
DVtsInactivityJobServlet.java25 import com.android.vts.util.TimeUtil;
80 String uploadTimeString = TimeUtil.getDateTimeZoneString(lastRunTime); in notifyIfInactive()
DVtsProfilingStatsJobServlet.java26 import com.android.vts.util.TimeUtil;
79 ZonedDateTime.ofInstant(Instant.ofEpochMilli(timeMillis), TimeUtil.PT_ZONE); in getCanonicalTime()
DVtsAlertJobServlet.java30 import com.android.vts.util.TimeUtil;
415 String uploadDateString = TimeUtil.getDateString(mostRecentRun.getStartTimestamp()); in getTestStatus()
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsProfilingStatsJobServletTest.java33 import com.android.vts.util.TimeUtil;
181 ZonedDateTime zdt = ZonedDateTime.of(now, TimeUtil.PT_ZONE); in testCanonicalTimeMidday()
186 ZonedDateTime.ofInstant(Instant.ofEpochSecond(canonicalTimeSec), TimeUtil.PT_ZONE); in testCanonicalTimeMidday()
202 ZonedDateTime zdt = ZonedDateTime.of(now, TimeUtil.PT_ZONE); in testCanonicalTimeMidnight()
207 ZonedDateTime.ofInstant(Instant.ofEpochSecond(canonicalTimeSec), TimeUtil.PT_ZONE); in testCanonicalTimeMidnight()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestRunEntity.java21 import com.android.vts.util.TimeUtil;
268 return TimeUtil.getDateTimeString(this.startTimestamp); in getStartDateTime()
273 return TimeUtil.getDateTimeString(this.endTimestamp); in getEndDateTime()