Java Parse Date Pattern YYYY parseEapoDate(String date)

Here you can find the source of parseEapoDate(String date)

Description

parse Eapo Date

License

Open Source License

Declaration

public static Date parseEapoDate(String 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 Date parseEapoDate(String date) {
        try {//from   ww w. j  a  va2  s  .  c  o  m
            return new SimpleDateFormat(EAPO_DATE_FORMAT).parse(date);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
}

Related

  1. parseDelayTime(String time)
  2. parseDIGTime(String timestr)
  3. parseDisplay4Key(Object date)
  4. parseDT(String fmt, String timeline)
  5. parseDueDate(String date)
  6. parseEuropeanDateAnd12HrsTimeString(String aDateString, String aTimeString)
  7. parseEXIFFormat(String dateString)
  8. parseExpireField(String timestring)
  9. parseFormattedTime(String formattedTime)