public FormattedDateDiff::getMaxAge()
public FormattedDateDiff::__construct($string, $max_age)
The maximum time in seconds that this string may be cached. Let's say the time difference is 1 day 1 hour. In this case, we can cache it until
public FormattedDateDiff::toRenderable()
public FormattedDateDiff::getCacheMaxAge()
The actual formatted time difference. Type: string File
Contains a formatted time difference. Hierarchy class \Drupal\Core\Datetime\
public FormattedDateDiff::getString()