class DateTimeToRfc3339Transformer extends BaseDateTimeTransformer
Methods
__construct(string $inputTimezone = null, string $outputTimezone = null) Constructor. | from BaseDateTimeTransformer | |
mixed | transform(DateTimeInterface $dateTime) Transforms a normalized date into a localized date. | |
mixed | reverseTransform(string $rfc3339) Transforms a formatted string following RFC 3339 into a normalized date. |
Details
__construct(string $inputTimezone = null, string $outputTimezone = null)
Constructor.
mixed transform(DateTimeInterface $dateTime)
Transforms a normalized date into a localized date.
mixed reverseTransform(string $rfc3339)
Transforms a formatted string following RFC 3339 into a normalized date.
Please login to continue.