private static Date getDate ( int day , int month , int year ) { Calendar cal = Calendar . getInstance ( ) ; cal . set ( Calendar . YEAR , year ) ; cal . set ( Calendar . MONTH , month ) ; cal . set ( Calendar . DATE , day ) ; return cal . getTime ( ) ; }
Get the date for the given values .