code: public void putDateField(HttpHeader name, long date) {
          String d = DateGenerator.formatDate(date);
          put(name, d);
      }
docs: Sets the value of a date field.
  
  @param name the field name
  @param date the field date value