question: public DateTime toDateTime ( Config config , Element el , String attributeName ) { String str = el . getAttribute ( attributeName ) ; if ( str == null ) return null ; return DateCaster . toDateAdvanced ( str , ThreadLocalPageContext . getTimeZone ( config ) , null ) ; }
target:  reads a XML Element Attribute ans cast it to a DateTime Object