BaseDateTimeTransformer
in package
implements
DataTransformerInterface
Interfaces, Classes, Traits and Enums
- DataTransformerInterface
- Transforms a value between different representations.
Table of Contents
- $formats : mixed
- $inputTimezone : mixed
- $outputTimezone : mixed
- __construct() : mixed
Properties
$formats
protected
static mixed
$formats
= [\IntlDateFormatter::NONE, \IntlDateFormatter::FULL, \IntlDateFormatter::LONG, \IntlDateFormatter::MEDIUM, \IntlDateFormatter::SHORT]
$inputTimezone
protected
mixed
$inputTimezone
$outputTimezone
protected
mixed
$outputTimezone
Methods
__construct()
public
__construct([string|null $inputTimezone = null ][, string|null $outputTimezone = null ]) : mixed
Parameters
- $inputTimezone : string|null = null
-
The name of the input timezone
- $outputTimezone : string|null = null
-
The name of the output timezone