FormattedDateDiff::$maxAge
  • References/PHP/Drupal/Datetime/FormattedDateDiff

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

2025-01-10 15:47:30
DateElementBase
  • References/PHP/Drupal/Datetime/Element/DateElementBase

Provides a base class for date elements. Hierarchy class \Drupal\Component\Plugin\PluginBase

2025-01-10 15:47:30
Datetime::formatExample
  • References/PHP/Drupal/Datetime/Element/Datetime

public static Datetime::formatExample($format)

2025-01-10 15:47:30
DateFormatter::$languageManager
  • References/PHP/Drupal/Datetime/DateFormatter

Language manager for retrieving the default langcode when none is specified. Type:

2025-01-10 15:47:30
DateTimePlus::diff
  • References/PHP/Drupal/Datetime/DateTimePlus

public DateTimePlus::diff($datetime2, $absolute = FALSE)

2025-01-10 15:47:30
DateFormatter::$units
  • References/PHP/Drupal/Datetime/DateFormatter

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

2025-01-10 15:47:30
DateHelper::minutes
  • References/PHP/Drupal/Datetime/DateHelper

public static DateHelper::minutes($format = 'i', $required = FALSE, $increment

2025-01-10 15:47:30
DateTimePlus::RFC7231
  • References/PHP/Drupal/Datetime/DateTimePlus

A RFC7231 Compliant date. http://tools.ietf.o

2025-01-10 15:47:30
DateTimePlus::$errors
  • References/PHP/Drupal/Datetime/DateTimePlus

An array of errors encountered when creating this date. File core/lib/Drupal/Component/Datetime/DateTimePlus

2025-01-10 15:47:30
DrupalDateTime
  • References/PHP/Drupal/Datetime/DrupalDateTime

Extends DateTimePlus(). This class extends the basic component and adds in Drupal-specific handling, like translation of the format() method

2025-01-10 15:47:30