Arraylist - 'Contains' method to check the presence of Date object
Hello experts,
I would be obliged if anyone could help me with a solution for the following problem. Have an Arraylist of Date objects.
I have today's date in a variable as Date date = new Date();
I need to check whether today's 'date' is present in the Arraylist.
How can I check whether this date variable of type Date is contained in the Arraylist ?
Any help is appreciated.
Regards,
Rony