Android Date Format formatDate(Date date)

Here you can find the source of formatDate(Date date)

Description

format Date

Declaration

public static String formatDate(Date date) 

Method Source Code

//package com.java2s;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Main {
    private static SimpleDateFormat FORMATTER = new SimpleDateFormat(
            "d MMMM yyyy");

    public static String formatDate(Date date) {
        return FORMATTER.format(date);
    }/*from  w  w w.j ava 2  s . c  o m*/
}

Related

  1. dateFormat(String sdate, String format)
  2. dateFormat(String sdate, String format)
  3. formatcurrentDate(int format)
  4. formatDataTime(Date date)
  5. formatDate(Date date)
  6. formatDate(Date date)
  7. formatDate(Date date, String pattern)
  8. formatDate(Date date, String pattern, Locale locale)
  9. format(Date d, String dateFormat)