Provides a service to handler various date related functionality.
Expanded class hierarchy of Date
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Date:: |
protected | property | The config factory. | |
Date:: |
protected | property | Language manager for retrieving the default langcode when none is specified. | |
Date:: |
protected | property | The list of loaded timezones. | |
Date:: |
public | function | Formats a date, using a date type or a custom date format string. | |
Date:: |
public | function | Constructs a DateFormats object. |