Java Parse Date parseDate(Date date)

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

Description

parse Date

License

Open Source License

Declaration

public static String parseDate(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 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm");

    public static String parseDate(Date date) {
        return sdf.format(date);
    }/*from w  w  w  . j  a v  a2  s.  c  o m*/
}

Related

  1. parseDate(@Nonnull final String sFormat, @Nonnull final String sValue)
  2. parseDate(@Nonnull String stringDate)
  3. parseDate(@Nullable String value)
  4. parseDate(Date date)
  5. parseDate(Date date)
  6. parseDate(Date date)
  7. parseDate(Date date)
  8. parseDate(Date date)