Here you can find the source of toStringFR(Date date)
public static String toStringFR(Date date)
//package com.java2s; //License from project: Open Source License import java.text.SimpleDateFormat; import java.util.Date; public class Main { public static final String DATE_FORMAT_dd_MM_yyyy = "dd/MM/yyyy"; public static String toStringFR(Date date) { return toString(date, DATE_FORMAT_dd_MM_yyyy); }//ww w. j ava 2 s . c om public static String toString(Date date, String format) { SimpleDateFormat outputFormat = new SimpleDateFormat(format); return outputFormat.format(date); } }