Java Day of getBirthdayFormatStr(Date date)

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

Description

get Birthday Format Str

License

LGPL

Declaration

public static String getBirthdayFormatStr(Date date) 

Method Source Code

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

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

public class Main {
    public static String getBirthdayFormatStr(Date date) {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        return sdf.format(date);
    }/*from   w w  w.j  a v  a2  s  . c o  m*/
}

Related

  1. getBeginOfDay(Date date)
  2. getBeginTimeOfDay(Date date, int offset)
  3. getBirthday(String age)
  4. getBirthDay(String idCard)
  5. getBirthDayDateFormat()
  6. getBookInfoDate(int days)
  7. getCalendarByDay(String dayStr)
  8. getConfirmDateTimeOfDay(Date currentDate)
  9. getCurDayZero()