public Integer countWeekday(Date startDate) {
startDate.setHours(0);
startDate.setMinutes(0);
startDate.setSeconds(0);
}
I have this function and a parameter passed to it.
setHours,setMinutes and setSeconds are deprecated.
What else can i use?