ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Change the timezone (and only the timezone) of php's WITHOUT changing the date-value. More...
Public Member Functions | |||
__construct (string $timezone) | |||
transform ($from) | |||
Perform the transformation.Please use this for transformations. It's more performant than calling invoke.
| |||
![]() | |||
applyTo (Result $data) | |||
Perform the transformation and reify possible failures. More... | |||
__invoke ($from) | |||
Transformations should be callable. More... | |||
Private Attributes | |
$timezone | |
Change the timezone (and only the timezone) of php's WITHOUT changing the date-value.
This will effectively be another point in time and space.
Definition at line 15 of file ChangeTimezone.php.
ILIAS\Refinery\DateTime\ChangeTimezone::__construct | ( | string | $timezone | ) |
ILIAS\Refinery\DateTime\ChangeTimezone::transform | ( | $from | ) |
Perform the transformation.Please use this for transformations. It's more performant than calling invoke.
Implements ILIAS\Refinery\Transformation.
Definition at line 40 of file ChangeTimezone.php.
|
private |
Definition at line 23 of file ChangeTimezone.php.