public void setDate ( String itemName , Date date ) { if ( date == null ) { setItem ( itemName , null ) ; } else { setItem ( itemName , DateUtil . toHL7 ( date ) ) ; } }
Saves a date item object as a context item .