public Time toTime ( Config config , Element el , String attributeName ) { DateTime dt = toDateTime ( config , el , attributeName ) ; if ( dt == null ) return null ; return new TimeImpl ( dt ) ; }
reads a XML Element Attribute ans cast it to a Time Object