public void addDateField ( String name , long date ) { if ( _dateBuffer == null ) { _dateBuffer = new StringBuffer ( 32 ) ; _calendar = new HttpCal ( ) ; } _dateBuffer . setLength ( 0 ) ; _calendar . setTimeInMillis ( date ) ; formatDate ( _dateBuffer , _calendar , false ) ; add ( name , _dateBuffer . toString ( ) ) ; }
Adds the value of a date field .