class TimeZoneProjectListener : TimeZoneListener, ProjectListener
Replaces the default TimeZone
This function replaces the current default timezone with timeZone, then executes the project and finally returns the original default timezone to it's place.
Attention: This code is subject to race conditions. The System can only have one default timezone, and if you change the timezone while it was already changed, the result may be inconsistent.
<init> |
Replaces the default TimeZone TimeZoneProjectListener(timeZone: TimeZone) |
afterProject |
fun afterProject(): Unit |
beforeProject |
fun beforeProject(): Unit |