Here you can find the source of getStandardDayFormat(Date day)
public static String getStandardDayFormat(Date day)
//package com.java2s; //License from project: Open Source License import java.util.*; import java.text.*; public class Main { public static SimpleDateFormat gStandardDayFormat = new SimpleDateFormat("yyyy-MM-dd"); public static String getStandardDayFormat(Date day) { return gStandardDayFormat.format(day); }/*from w w w .j a va 2 s . c o m*/ }