Java Parse Date parseDateHHmm(java.util.Date date)

Here you can find the source of parseDateHHmm(java.util.Date date)

Description

parse Date H Hmm

License

Open Source License

Declaration

public static String parseDateHHmm(java.util.Date date) throws ParseException 

Method Source Code


//package com.java2s;

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

public class Main {
    public final static String DATE_FORMAT_HH_mm = "HH:mm";

    public static String parseDateHHmm(java.util.Date date) throws ParseException {
        return new SimpleDateFormat(DATE_FORMAT_HH_mm).format(date);
    }//from ww  w.jav  a2s  .c  om
}

Related

  1. parseDateFromDefault(String dateString)
  2. parseDateFromHeader(String datestr)
  3. parseDateFromString(String valor, String formatoFecha)
  4. parseDateHeader(String header)
  5. parseDateHeader(String value)
  6. parseDateHHMM(String hhmm)
  7. parseDateHMSMZ(String dateString)
  8. parseDateList(List dateList)
  9. parseDateLong(String date, Locale locale)