Java Parse Date parseDateStrFormat(String strDate)

Here you can find the source of parseDateStrFormat(String strDate)

Description

parse Date Str Format

License

Apache License

Declaration

public static synchronized String parseDateStrFormat(String strDate) 

Method Source Code


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

import java.text.*;

public class Main {

    public static synchronized String parseDateStrFormat(String strDate) {
        SimpleDateFormat sdf = new SimpleDateFormat("HH:mm");
        return sdf.format(strDate);
    }//from   w  ww. ja  v  a 2  s.  c o  m
}

Related

  1. parseDateNoTimeWithDelimit(String sDate, String delimit)
  2. parseDateOrTimeString(String aDateString, String aFormatString)
  3. parseDateRFC(String value)
  4. parseDateRfc822(String str)
  5. parseDates(String query)
  6. parseDateString(String dateStr)
  7. parseDateString(String dateString)
  8. parseDateString(String pattern, String dateString)
  9. parseDateString(String s)