Show/Hide Toolbars

CWT Software Configuration Handbook

Element        Path: <cwt><CALENDAR><standardDateRule>

This function is used to set the rule for when the automatic change from daylight saving time to standard time shall be executed. The size of the change is set with the daylightSavingOffset tag (see DaylightSavingOffset ). For details on calendar rules, see Section Calendar rules below.

Note:
You have to set the attributes for both the summertime ( daylightSavingDateRule ) and the wintertime ( standardDateRule ). The terminal will not accept only summer or winter settings because these attributes depend on each other.

attributes

day

Value range:1–31
Description:When rule 3 is used, day should be 1, 8, 15, 22 or 30.

When rule 3 is used, and weekday = Sunday, this means the first Sunday in the month, 8 means the second, 15 the third, 22 the fourth and 30 the last Sunday of a month. It may be the fourth or fifth Sunday depending on the weekday on the first day of the month.

hour

Value range:0–23

minute

Value range:0–59

month

Value range:1–12

rule

Value range:3
Description:A weekday in a 7-day period is used for calculation of the time and date for roll over (like third Sunday in October). The attribute weekday must be set as well as the day attributes (see table below for valid values).

weekday

Value range:Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
Description:Must be set when rule 3 is used.

Example:

This Example: enables standard time in the terminal the last Sunday in October every year at 03:00 (clock will be adjusted from 03:00 to 02:00):

<CALENDAR utcTimeOffset="60" daylightSavingOffset="60">
<standardDateRule rule="3" month="10" day="30" hour="3"minute="0"
  weekday="Sunday"/>
</CALENDAR>

Example:

This Example: enables standard time in the terminal the first Sunday in November every year at 04:00 (clock will be adjusted from 04:00 to 03:00):

<CALENDAR utcTimeOffset="60" daylightSavingOffset="60">
<standardDateRule rule="3" month="11" day="1" hour="4" minute="0"
  weekday="Sunday"/>
</CALENDAR>