Check If Date Is Valid Using Java

Here is a simple method to check if a Date is valid or not. It requires the month, day and year as int parameters and the method uses a Calendar object to determine it. Remember that months in the Calendar class start with 0 (January) and so on.

Related Posts Plugin for WordPress, Blogger...

3 comments

  1. Im glad I discovered this website, I couldnt obtain any knowledge on this matter prior to. Also manage a site and if you are ever interested in doing a bit of visitor writing for me you should feel free to let me know, im always look for people to check out my site. Please stop by and leave a comment sometime!

Leave a Reply

Your email address will not be published. Required fields are marked *