Here you can find the source of getSimpleDateFormat()
public static SimpleDateFormat getSimpleDateFormat()
//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 }