Searched refs:dateFormat (Results 1 – 3 of 3) sorted by relevance
133 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); in getTimestamp() local135 dateFormat.setTimeZone(gmt); in getTimestamp()136 dateFormat.setLenient(true); in getTimestamp()137 String timestamp = dateFormat.format(new Date()); in getTimestamp()
206 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); in getTimeStamp() local207 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); in getTimeStamp()208 dateFormat.setLenient(true); in getTimeStamp()209 return dateFormat.format(new Date()); in getTimeStamp()
432 SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy"); in toReadableDateString() local433 return dateFormat.format(new Date(time)); in toReadableDateString()