setDefault (TimeZone - JavaScript)

Sets the TimeZone that is returned by the getDefault method. If TimeZone is null, it resets the default to the value it had originally when the VM first started.

Defined in

TimeZone (JavaScript)

Syntax

setDefault(TimeZone:TimeZone) : void
Parameters Description
TimeZone The new default TimeZone.