Java Date Format As formatDateBdChar(Date birthdate)

Here you can find the source of formatDateBdChar(Date birthdate)

Description

format Date Bd Char

License

Apache License

Declaration

public static String formatDateBdChar(Date birthdate) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.text.SimpleDateFormat;

import java.util.Date;

public class Main {
    private static SimpleDateFormat datetimeFormatBdChar = new SimpleDateFormat("yyyy-MM-dd HH:mm");

    public static String formatDateBdChar(Date birthdate) {
        return birthdate != null ? datetimeFormatBdChar.format(birthdate) : null;
    }/*from w w  w.j  a  v a 2  s . c  o m*/
}

Related

  1. fmtTime(Date time)
  2. formatDateAccordingToSessionDuration(Calendar cal, int sessionDuration, int offset)
  3. formatDateAppello(Date data)
  4. formatDateAsFileSystemName()
  5. formatDateAsYYYYMMDD(Date date)
  6. formatDateByDefault(Date date)
  7. formatDateByYYYYMMDDHHmmss(Date date)
  8. formatDateCkan(Date date)
  9. formatDateDashes(Date oDate)