Hi,
One possible solution, I would suggest making your expiry date as a java.util.Date object and pass it into a method like this:
/**
* <P> isToday()
* This method checks to see if the date is today.
* @param Date
* @return boolean
*/
public boolean isToday(Date dt) {...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.