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
Provides a base class for date elements. Hierarchy class \Drupal\Component\Plugin\PluginBase
public static Datetime::formatExample($format)
Language manager for retrieving the default langcode when none is specified. Type:
public DateTimePlus::diff($datetime2, $absolute = FALSE)
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
public static DateHelper::minutes($format = 'i', $required = FALSE, $increment
A RFC7231 Compliant date. http://tools.ietf.o
An array of errors encountered when creating this date. File core/lib/Drupal/Component/Datetime/DateTimePlus
Extends DateTimePlus(). This class extends the basic component and adds in Drupal-specific handling, like translation of the format() method
Page 10 of 14