Here you can find the source of parseDateForFilter(String date)
public static Date parseDateForFilter(String date)
//package com.java2s; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; public class Main { private final static SimpleDateFormat filterDatesFormatter = new SimpleDateFormat("dd/MMM/yy", Locale.ENGLISH); public static Date parseDateForFilter(String date) { if (date != null) { try { return filterDatesFormatter.parse(date); } catch (ParseException e) { }/*from ww w. j a v a2s. com*/ } return null; } }