Skip to main content
Information about a rule for a TimeZone.

Constructors

NSTimeZoneRule()

Initializes a new instance of the NSTimeZoneRule class.

Methods

GetEndDay()

Returns: CRMScript.Global.Integer - Custom DST end day, if 0 then parse startRule. Example:

GetEndMonth()

Returns: CRMScript.Global.Integer - Custom DST end month, if 0 then parse startRule. Example:

GetEndRulePattern()

Returns: CRMScript.Global.String - DST end rule, such as 2300 LST-SAT-OCT; limited to rules that we have parse code for; use dayOfMonth etc for custom rules. Example:

GetStartDay()

Returns: CRMScript.Global.Integer - Custom DST start day, if 0 then parse startRule. Example:

GetStartMonth()

Returns: CRMScript.Global.Integer - Custom DST start month, if 0 then parse startRule. Example:

GetStartRulePattern()

Returns: CRMScript.Global.String - DST start rule, such as 0200 1ST-SUN-APR; limited to rules that we have parse code for; use dayOfMonth etc for custom rules. Example:

GetTZOffset()

Returns: CRMScript.Global.Integer - Number of minutes bias relative to UTC time. Example:

SetEndDay(Integer)

Returns: CRMScript.Global.Void Example:

SetEndMonth(Integer)

Returns: CRMScript.Global.Void Example:

SetEndRulePattern(String)

Returns: CRMScript.Global.Void Example:

SetStartDay(Integer)

Returns: CRMScript.Global.Void Example:

SetStartMonth(Integer)

Returns: CRMScript.Global.Void Example:

SetStartRulePattern(String)

Returns: CRMScript.Global.Void Example:

SetTZOffset(Integer)

Returns: CRMScript.Global.Void Example: