Zimlet JavaScript API Reference - ZmTimezone

Class ZmTimezone


This class represents a timezone.

Defined in: ZmTimezone.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a timezone
Method Summary
Method Attributes Method Name and Description
<static>  
ZmTimezone.getDefault()
Gets the default timezone.
<static>  
ZmTimezone.getDefaultRule()
Gets the default rule.
<static>  
ZmTimezone.set(request, timezoneClientId, parentNode, skipKnownTimezone)
This function mirrors the AjxSoapDoc#set method to add a timezone element at the specific place within the given SOAP document.
Class Detail
ZmTimezone()
Creates a timezone
Method Detail
<static> {AjxTimezone} ZmTimezone.getDefault()
Gets the default timezone.
Returns:
{AjxTimezone} the timezone

<static> {String} ZmTimezone.getDefaultRule()
Gets the default rule.
Returns:
{String} the rule

<static> ZmTimezone.set(request, timezoneClientId, parentNode, skipKnownTimezone)
This function mirrors the AjxSoapDoc#set method to add a timezone element at the specific place within the given SOAP document. The added element takes the form of the <tz> element as defined for <SearchRequest>.
Parameters:
{object|AjxSoapDoc} request
the JSON request object or SOAP document
{String} timezoneClientId
the client identifier
{Node} parentNode
(optional) the parent node at which to add
{Boolean} skipKnownTimezone
(optional) if true, does not add the "tz" element if it's one of the known set

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:39 GMT-0400 (EDT)