Searched refs:TimeUtil (Results 1 – 9 of 9) sorted by relevance
30 String timeString = TimeUtil.getDateTimeZoneString(time); in testFormatDateTime()39 String timeString = TimeUtil.getDateString(time); in testFormatDate()
26 public class TimeUtil { class27 protected static final Logger logger = Logger.getLogger(TimeUtil.class.getName());
80 sb.append("Start Time: " + TimeUtil.getDateTimeZoneString(testRun.getStartTimestamp())); in getEmailFooter()81 sb.append("<br>End Time: " + TimeUtil.getDateTimeZoneString(testRun.getEndTimestamp())); in getEmailFooter()
24 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()
25 import com.android.vts.util.TimeUtil;80 String uploadTimeString = TimeUtil.getDateTimeZoneString(lastRunTime); in notifyIfInactive()
26 import com.android.vts.util.TimeUtil;79 ZonedDateTime.ofInstant(Instant.ofEpochMilli(timeMillis), TimeUtil.PT_ZONE); in getCanonicalTime()
30 import com.android.vts.util.TimeUtil;415 String uploadDateString = TimeUtil.getDateString(mostRecentRun.getStartTimestamp()); in getTestStatus()
33 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()
21 import com.android.vts.util.TimeUtil;268 return TimeUtil.getDateTimeString(this.startTimestamp); in getStartDateTime()273 return TimeUtil.getDateTimeString(this.endTimestamp); in getEndDateTime()