How do I get the next date(2014/03/21) given the current date(2014/03/20) in Java?
Code:
public static String getNextDate(String curDate) {
String nextDate="";
try {
//here logic to get nextDate
} catch (Exception e) {
return nextDate;
}
return nextDate;
}