public static final Integer parseMinutesFromHours ( String value ) { Integer result = null ; if ( value != null ) { result = Integer . valueOf ( Integer . parseInt ( value ) * 60 ) ; } return result ; }
Parse a duration in minutes form a number of hours .