예제 #1
0
  public static String format(Date date) {

    return DateUtil.format(date, "dd/MM/yyyy");
  }
예제 #2
0
  public static String getHora(Date date) {

    return DateUtil.format(date, "HH:mm:ss");
  }
예제 #3
0
  public static String format(Calendar calendar, String format) {

    return DateUtil.format(calendar.getTime(), format);
  }