### Question:
TimeUtils { public static long secondsToMillis(double seconds) { return Math.round(seconds * MILLIS_PER_SEC); }  static long secondsToMillis(double seconds); static long minutesToMillis(double minutes); static long hoursToMillis(double hours); @SuppressLint("DefaultLocale") static String formatMillis(long millis); static String formatSeconds(int seconds); static Date convertToLocalDate(Date utcDate); static Date convertToUtcDate(Date localDate); static int numYears(Date start, Date end); static int numYears(Date start, Calendar end); static int numYears(Calendar start, Calendar end); static String getFriendlyDate(Date date); static String getFriendlyDate(Date date, boolean relative);  }### Answer:
@Test public void secondsToMillis() { assertEquals(0, TimeUtils.secondsToMillis(0)); assertEquals(1000, TimeUtils.secondsToMillis(1)); assertEquals(1250, TimeUtils.secondsToMillis(1.25)); }