Java Day getDayFormat(Date date)

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

Description

get Day Format

License

Apache License

Declaration

public static String getDayFormat(Date date) 

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 dayFormater = new SimpleDateFormat("yyyy-MM-dd");

    public static String getDayFormat(Date date) {
        return dayFormater.format(date);
    }/*from w w  w  .j av a 2 s.c  o m*/
}

Related

  1. getDayDate(String date, String formatFormat)
  2. getDayDesc(Date arg)
  3. getDayEnd(Date date)
  4. getDayEndTime(int off, String timezone)
  5. getDayForDate(String dateToCheck, String pattern)
  6. getDayInWeekBeginAndEnd(Date date)
  7. getDayInWeekForMonthIn2Characters(int year, int month)
  8. getDayName(String dateString)
  9. getDayNameForDate(java.util.Date dt, boolean fullname)