Searched refs:dateFormat (Results 1 – 5 of 5) sorted by relevance
178 java.text.DateFormat dateFormat = DateFormat.getDateFormat(mContext); in testFormatMethods() local179 assertNotNull(dateFormat); in testFormatMethods()181 String source = dateFormat.format(date); in testFormatMethods()182 Date parseDate = dateFormat.parse(source); in testFormatMethods()187 dateFormat = DateFormat.getLongDateFormat(mContext); in testFormatMethods()188 assertNotNull(dateFormat); in testFormatMethods()189 source = dateFormat.format(date); in testFormatMethods()191 dateFormat = DateFormat.getMediumDateFormat(mContext); in testFormatMethods()192 assertNotNull(dateFormat); in testFormatMethods()193 source = dateFormat.format(date); in testFormatMethods()[all …]
92 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy.MM.dd-HH.mm.ss", Locale.ENGLISH); in getReportBaseName() local93 String date = dateFormat.format(new Date()); in getReportBaseName()
154 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy.MM.dd_HH.mm.ss", Locale.ENGLISH); in getReportName() local155 String date = dateFormat.format(new Date()); in getReportName()
566 SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy"); in toReadableDateString() local567 return dateFormat.format(new Date(time)); in toReadableDateString()
2331 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy:MM:dd hh:mm:ss z"); in verifyJpegExifExtraTags() local2333 Date gpsDateTime = dateFormat.parse(gpsExifTimeString); in verifyJpegExifExtraTags()