Java Date Format Pattern createSimpleFormat()

Here you can find the source of createSimpleFormat()

Description

create Simple Format

License

Open Source License

Declaration

private static DateFormat createSimpleFormat() 

Method Source Code


//package com.java2s;
import java.text.DateFormat;

import java.text.SimpleDateFormat;

public class Main {
    public static final String SIMPLE_DATE_FORMAT = "yyyyMMddHHmmss";

    private static DateFormat createSimpleFormat() {
        return new SimpleDateFormat(SIMPLE_DATE_FORMAT);
    }/*from   w w w. j a  v  a 2 s  .c o m*/
}

Related

  1. createFormatter()
  2. createFormatter(String str)
  3. createThreadLocal(final String format)
  4. get8charDateFormat()
  5. getCommandFormat()
  6. getDataAtual(String formato)