Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/result/
DXmlResultReporter.java133 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); in getTimestamp() local
135 dateFormat.setTimeZone(gmt); in getTimestamp()
136 dateFormat.setLenient(true); in getTimestamp()
137 String timestamp = dateFormat.format(new Date()); in getTimestamp()
DMetricsXMLResultReporter.java206 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); in getTimeStamp() local
207 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); in getTimeStamp()
208 dateFormat.setLenient(true); in getTimeStamp()
209 return dateFormat.format(new Date()); in getTimeStamp()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java432 SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy"); in toReadableDateString() local
433 return dateFormat.format(new Date(time)); in toReadableDateString()