public void setExpirationDateString ( String date ) throws ParseException { if ( StringUtils . isBlank ( date ) ) { expirationDate = null ; return ; } expirationDate = dateFormat . parse ( date ) ; }
Set the expiration date as a string .