Zum Hauptinhalt springen

Zymba Documentation

Date.TimezoneContext

Text
object @Date.TimezoneContext(@Base) {
construct(string $timezone) {}
enter() {}
exit() {}
}

Timezone context prototype.

Prototype

Base

Methods

CODE
$this.construct(string $timezone): void
Parameters
NameTypeValueDefault
timezonestring"UTC"
CODE
$this.enter(): void
CODE
$this.exit(): void