question: private static GeneralizedTime createTime ( final String value , final int year , final int month , final int day , final int hour , final int minute , final int second , final TimeZone tz ) { try { final GregorianCalendar calendar = new GregorianCalendar ( ) ; calendar . setLenient ( false ) ; calendar . setTimeZone ( tz ) ; calendar . set ( year , month , day , hour , minute , second ) ; calendar . set ( Calendar . MILLISECOND , 0 ) ; return new GeneralizedTime ( calendar , null , Long . MIN_VALUE , value ) ; } catch ( final Exception e ) { final LocalizableMessage message = WARN_ATTR_SYNTAX_GENERALIZED_TIME_ILLEGAL_TIME . get ( value , String . valueOf ( e ) ) ; throw new LocalizedIllegalArgumentException ( message , e ) ; } }
target:  Returns a generalized time object representing the provided date / time parameters.