public static String localTimeToString ( LocalTime time , String emptyTimeString ) { return ( time == null ) ? emptyTimeString : time . toString ( ) ; }
localTimeToString This will return the supplied time as a string . If the time is null this will return the value of emptyTimeString .