public DateFormatter::formatTimeDiffSince($timestamp, $options = array())
public DateFormatter::getSampleDateFormats($langcode = NULL, $timestamp
public DateFormatter::formatInterval($interval, $granularity = 2, $langcode
Contains the different date interval units. This array is keyed by strings representing the unit (e.g. '1 year|@count years') and with the amount
The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File
Language manager for retrieving the default langcode when none is specified. Type:
protected DateFormatter::dateFormat($format, $langcode)
public DateFormatter::formatTimeDiffUntil($timestamp, $options = array())
Page 2 of 2