Here you can find the source of getDataFormatter()
public static DateFormat getDataFormatter()
//package com.java2s; //License from project: Open Source License import java.text.DateFormat; import java.text.SimpleDateFormat; public class Main { private static SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); /**/*from www. j a v a 2 s . c o m*/ * Get a Date formatter for the common API date format * * @return A date formatter with the pattern 'yyyy-mm-dd hh:mm:ss' */ public static DateFormat getDataFormatter() { return simpleDateFormat; } }