|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Change the timezone (and only the timezone) of php's WITHOUT changing the date-value. More...
Inheritance diagram for ILIAS\Refinery\DateTime\ChangeTimezone:
Collaboration diagram for ILIAS\Refinery\DateTime\ChangeTimezone:Public Member Functions | |
| __construct (string $timezone) | |
| transform ($from) | |
Public Member Functions inherited from ILIAS\Refinery\Transformation | |
| applyTo (Result $result) | |
| Perform the transformation and reify possible failures. More... | |
| __invoke ($from) | |
| Transformations should be callable. More... | |
Private Attributes | |
| DateTimeZone | $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 34 of file ChangeTimezone.php.
| ILIAS\Refinery\DateTime\ChangeTimezone::__construct | ( | string | $timezone | ) |
Definition at line 41 of file ChangeTimezone.php.
| ILIAS\Refinery\DateTime\ChangeTimezone::transform | ( | $from | ) |
|
private |
Definition at line 39 of file ChangeTimezone.php.