Here you can find the source of formatDateAppello(Date data)
Parameter | Description |
---|---|
data | a parameter |
public static String formatDateAppello(Date data)
//package com.java2s; //License from project: Open Source License import java.text.SimpleDateFormat; import java.util.Date; public class Main { /**//from w w w . j a v a 2s. com * */ public static final String DD_MM_YYYY = "dd/mm/yyyy"; /** * @param data * @return */ public static String formatDateAppello(Date data) { SimpleDateFormat dateFormat = new SimpleDateFormat(DD_MM_YYYY); return dateFormat.format(data); } }