code: public static String formatDate(long value) {
          synchronized (HttpDateFormat.class) {
              Date dateValue = new Date(value);
              return FORMAT.format(dateValue);
          }
      }
docs: Get the HTTP format of the specified date.
  
  @param value the date.
  
  @return the HTTP date.