Searched refs:dateFormat (Results 1 – 4 of 4) sorted by relevance
182 java.text.DateFormat dateFormat = DateFormat.getDateFormat(mContext); in testFormatMethods() local183 assertNotNull(dateFormat); in testFormatMethods()185 String source = dateFormat.format(date); in testFormatMethods()186 Date parseDate = dateFormat.parse(source); in testFormatMethods()191 dateFormat = DateFormat.getLongDateFormat(mContext); in testFormatMethods()192 assertNotNull(dateFormat); in testFormatMethods()193 source = dateFormat.format(date); in testFormatMethods()195 dateFormat = DateFormat.getMediumDateFormat(mContext); in testFormatMethods()196 assertNotNull(dateFormat); in testFormatMethods()197 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()
2402 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy:MM:dd hh:mm:ss z"); in verifyJpegExifExtraTags() local2404 Date gpsDateTime = dateFormat.parse(gpsExifTimeString); in verifyJpegExifExtraTags()