Here you can find the source of fromStringFR(String dateString)
public static Date fromStringFR(String dateString) throws ParseException
//package com.java2s; //License from project: Open Source License import java.text.ParseException; 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 Date fromStringFR(String dateString) throws ParseException { return fromString(dateString, DATE_FORMAT_dd_MM_yyyy); }//from ww w . j a v a2 s. c o m public static Date fromString(String dateString, String format) throws ParseException { SimpleDateFormat inputFormat = new SimpleDateFormat(format); return inputFormat.parse(dateString); } }