public DateFormatter::format($timestamp, $type = 'medium', $format =
public DateFormatter::formatInterval($interval, $granularity = 2, $langcode
public DateFormatter::getSampleDateFormats($langcode = NULL, $timestamp
protected DateFormatter::dateFormat($format, $langcode)
Language manager for retrieving the default langcode when none is specified. Type:
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
public DateFormatter::formatTimeDiffUntil($timestamp, $options = array())
Page 2 of 2