public static String getString(long date, String format) {
    Date d = new Date(date);
    return getString(d, format);
  }
@Test
  public void getString_longSignature() {
    String expectedDateAsString = "16/03/2020";
    long expectedDate = 1584371565000L;
    String format = "dd/MM/yyyy";
    assertEquals(expectedDateAsString, DateUtils.getString(expectedDate, format));
  }