See Also Applies To
SetRule is a method that checks the daylight transition rule provided for validity and sets the PITimeZoneRule object.
object.SetRule StartYear, EndYear, Month, Day, Week, Time, BiasOffset
The object placeholder is an object expression that evaluates to a PITimeZoneRule object. Choose values for the arguments StartYear, Month, Day, Week, Time, BiasOffset based on the property table.
In addition to generic errors (such as Out of Memory), the following errors may occur:
|tseINVALIDARG||A time zone rule property was out of range.|