docs: public static Date toDateFromLongFormat(String date) {
      if (date == null) {
        return null;
      }
  
      // Is this an all-digit date? Then assume it's the "seconds since epoch"
      // variant
      if (date.trim().matches("\\d+")) {
        return new Date(Long.parseLong(date) * 1000L);
      }
  
      Date parsedDate = toDateWithFormatString(date, FACEBOOK_LONG_DATE_FORMAT);
  
      // Fall back to variant without timezone if the initial parse fails
      if (parsedDate == null) {
        parsedDate = toDateWithFormatString(date, FACEBOOK_LONG_DATE_FORMAT_WITHOUT_TIMEZONE);
      }
  
      // Fall back to variant without seconds if secondary parse fails
      if (parsedDate == null) {
        parsedDate = toDateWithFormatString(date, FACEBOOK_LONG_DATE_FORMAT_WITHOUT_TIMEZONE_OR_SECONDS);
      }
  
      return parsedDate;
    }