DatetimeHelper { public static long getTimestamp() { return System.currentTimeMillis(); }  static long getTimestamp(); static String dateToString(Date date); static Date stringToDate(String dateText); static String dateToShortReadableString(Context context, Date date); static String convertSecondsToReadableDuration(long totalMilliseconds); static String convertSecondsToDuration(long totalMilliseconds); static String formatRFC822Date(Date date);  }
@Test public void getTimestampTest() { long timestamp = DatetimeHelper.getTimestamp(); assertEquals(true, timestamp > 0); }