Searched refs:date (Results 1 – 8 of 8) sorted by relevance
48 public static String format(LocalDate date) { in format() argument49 return date.format(formatter); in format()
179 Date date = new Date(System.currentTimeMillis()); in getLogcatStartTime() local180 Log.i(getTag(), "Current Date:" + DATE_FORMATTER.format(date)); in getLogcatStartTime()182 date = new Date(System.currentTimeMillis() - (mBeforeLogcatDurationInSecs * 1000)); in getLogcatStartTime()183 Log.i(getTag(), "Date including the before duration:" + DATE_FORMATTER.format(date)); in getLogcatStartTime()185 return DATE_FORMATTER.format(date); in getLogcatStartTime()
33 void setDate(LocalDate date); in setDate() argument
79 Date date = in testAndroidSecurityPatchLevel() local86 date.equals(mSystemSettingsHelper.get().getAndroidSecurityPatchLevel())); in testAndroidSecurityPatchLevel()
170 private Date formatDate(Date date, String format) { in formatDate() argument172 String dateString = dateFormatter.format(date); in formatDate()180 private Date parseDate(String date, String format) { in parseDate() argument184 parsedDate = dateFormatter.parse(date); in parseDate()
103 public void setDate(LocalDate date) { in setDate() argument121 int year = date.getYear(); in setDate()122 Month month = date.getMonth(); in setDate()123 int day = date.getDayOfMonth(); in setDate()
40 val date = Date(timestampMs) in <lambda>() constant
183 Date date = new Date(System.currentTimeMillis()); in testLogcatCollectionWithBeforeDuration() local208 String.valueOf(date.getTime() - finallogcatSinceDate.getTime())); in testLogcatCollectionWithBeforeDuration()209 assertTrue((date.getTime() - finallogcatSinceDate.getTime()) >= 4000); in testLogcatCollectionWithBeforeDuration()