Java Parse Date parseDate(String applyDt)

Here you can find the source of parseDate(String applyDt)

Description

parse Date

License

Apache License

Declaration

public static Date parseDate(String applyDt) throws ParseException 

Method Source Code

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

import java.text.ParseException;
import java.text.SimpleDateFormat;

import java.util.Date;

public class Main {
    public static Date parseDate(String applyDt) throws ParseException {
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
        return simpleDateFormat.parse(applyDt + "000000");
    }//from  w ww .  ja va  2 s  .  c  o  m
}

Related

  1. parseDate(Object str)
  2. parseDate(Object val)
  3. parseDate(SimpleDateFormat parser, String str, String[] parsePatterns)
  4. parseDate(String _dateString)
  5. parseDate(String actual, DateFormat format, Pattern pattern)
  6. parseDate(String buildDate, SimpleDateFormat dateFormat)
  7. parseDate(String certDate)
  8. parseDate(String currDate)
  9. parseDate(String d)