Java Day of getBirthDayDateFormat()

Here you can find the source of getBirthDayDateFormat()

Description

get Birth Day Date Format

License

Apache License

Declaration

public static DateFormat getBirthDayDateFormat() 

Method Source Code


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

import java.text.DateFormat;
import java.text.SimpleDateFormat;

import java.util.Locale;

public class Main {
    public static DateFormat getBirthDayDateFormat() {
        return getFormat("MM-dd");
    }// w  w  w. j a v  a2s  .c om

    public static DateFormat getFormat(String fmt) {
        return new SimpleDateFormat(fmt, new Locale("Asia/Tokyo"));
    }
}

Related

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