Java yyyy formatToEapoDate(Date date)

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

Description

format To Eapo Date

License

Open Source License

Declaration

public static String formatToEapoDate(Date date) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.text.SimpleDateFormat;

import java.util.Date;

public class Main {
    private static final String EAPO_DATE_FORMAT = "yyyy.MM.dd";

    public static String formatToEapoDate(Date date) {
        try {//from  w  ww  . j  a  va 2s. c  o  m
            return new SimpleDateFormat(EAPO_DATE_FORMAT).format(date);
        } catch (Exception e) {
            return null;
        }
    }
}

Related

  1. formatStr(Date date)
  2. formatString(Date date)
  3. formattedDate(final String format, final Date tweetPollDate)
  4. formatter()
  5. formatTimeSpan(long time)
  6. formatToSqlDate(final Date date)
  7. formatToString(String format, long time)
  8. formatYmd(Date d)
  9. formatYMD(Date d)