code: public static String formatCookieDate(long date) {
          StringBuilder buf = new StringBuilder(28);
          formatCookieDate(buf, date);
          return buf.toString();
      }
docs: Format "EEE, dd-MMM-yyyy HH:mm:ss 'GMT'" for cookies
  
  @param date the date in milliseconds
  @return the formatted date