Android Date Format String Create getSimpleDateFormat()

Here you can find the source of getSimpleDateFormat()

Description

get Simple Date Format

Declaration

public static SimpleDateFormat getSimpleDateFormat() 

Method Source Code

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

public class Main {
    public static SimpleDateFormat getSimpleDateFormat() {
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
    }//from   ww  w  .  ja v  a2 s .c  o m
}

Related

  1. getDateFormatSymbols(Locale locale)
  2. changeFormat(String gmtString, String orgFormat, String format)
  3. convertFormat(String src, String f1, String f2)
  4. dateFormatToString(int date, Context context)
  5. getGMTDateFormat()
  6. getSimpleDateFormatter()
  7. getDateByFormat(String strDate, String format)
  8. getStringByFormat(String strDate, String format)
  9. getMySQLDateFormat()