code: @Deprecated
      public static void setDateHeader(HttpMessage message, CharSequence name, Date value) {
          if (value != null) {
              message.headers().set(name, DateFormatter.format(value));
          } else {
              message.headers().set(name, null);
          }
      }
docs: @deprecated Use {@link #set(CharSequence, Object)} instead.
  
  Sets a new date header with the specified name and value.  If there
  is an existing header with the same name, the existing header is removed.
  The specified value is formatted as defined in
  <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1">RFC2616</a>