Java Date Format As formatDateAppello(Date data)

Here you can find the source of formatDateAppello(Date data)

Description

format Date Appello

License

Open Source License

Parameter

Parameter Description
data a parameter

Declaration

public static String formatDateAppello(Date data) 

Method Source Code

//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);
    }
}

Related

  1. fmtMilliseconds(final long msec, final String simpleDateTimeFormat)
  2. fmtMsg(final String fmt, final String arg)
  3. fmtNumStringToDouble(String s)
  4. fmtTime(Date time)
  5. formatDateAccordingToSessionDuration(Calendar cal, int sessionDuration, int offset)
  6. formatDateAsFileSystemName()
  7. formatDateAsYYYYMMDD(Date date)
  8. formatDateBdChar(Date birthdate)
  9. formatDateByDefault(Date date)