Java DateTimeFormatter getDateFormat()

Here you can find the source of getDateFormat()

Description

get Date Format

License

Open Source License

Declaration

public static DateTimeFormatter getDateFormat() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.time.format.DateTimeFormatter;

public class Main {
    public static DateTimeFormatter getDateFormat() {
        return DateTimeFormatter.ofPattern("dd-MM-yyyy HH:mm:ss");
    }/*from  w  w w .j a v a2 s.  co m*/
}

Related

  1. formatTime(long milliSeconds)
  2. formatTimestamp(long timestamp)
  3. formatTimestap(final long timestap)
  4. fromInfluxDBTimeFormat(final String timestamp)
  5. fromString(String dateString, DateTimeFormatter formatter)
  6. getDateFormat(final Locale LOCALE)
  7. getDateFromFormat(String dtStr)
  8. getDateTimeAttributeTimeFormat()
  9. getDateTimeFormatter()