Here you can find the source of getTimestampFormat()
private static SimpleDateFormat getTimestampFormat()
//package com.java2s; //License from project: LGPL import java.text.SimpleDateFormat; public class Main { private static SimpleDateFormat getTimestampFormat() { String defaultTimestampFormat = "MM/dd/yyyy HH:mm:ss"; return new SimpleDateFormat(defaultTimestampFormat); }//from w w w. jav a 2 s . co m }