This is what I did and it works great. But is there a simpler way, or an alternative way you know of?
Code:
public DateStringConverter(String startDate, String endDate ){
if((startDate==null)||(startDate.length()>10||startDate.length()<10)){
throw new NumberFormatException("startDate");
Leave a comment: