question: protected void time ( Calendar calendar ) throws ParseException { try { String s = lexer . number ( ) ; int hour = Integer . parseInt ( s ) ; calendar . set ( Calendar . HOUR_OF_DAY , hour ) ; lexer . match ( ':' ) ; s = lexer . number ( ) ; int min = Integer . parseInt ( s ) ; calendar . set ( Calendar . MINUTE , min ) ; lexer . match ( ':' ) ; s = lexer . number ( ) ; int sec = Integer . parseInt ( s ) ; calendar . set ( Calendar . SECOND , sec ) ; } catch ( Exception ex ) { throw createParseException ( "error processing time " ) ; } }
target:  Set the time field. This has the format hour:minute:second