previous next top complete contents complete index framed top this page unframed
Figure 47–14. $setDSTEndRule
| PROCEDURE $setDSTEndRule (STRING s); |
$setDSTEndRule tells the runtime system how to compute when Daylight Savings Time (DST) ends each year. The format of the rule STRING s is:
monthName weekdayName occurrence timeOfDay
or:
monthName dateOfMonth timeOfDay
e.g.:
October Sunday 5 2:00
meaning the last Sunday in October at 2:00 a.m., which describes the rule in effect since 8 July 1986 in those parts of the United States that observe DST. The value of the DST end rule may be examined by $getDSTEndRule or by the MAINEX subcommand DSTENDRULE. MAINSAIL's time-zone-related facilities are described in more detail in Section 24.2 and in the description of MAINEX in Chapter 21 of the MAINSAIL Utilities User's Guide.
After a call to $setDSTEndRule, $timeSubcommandsSet becomes TRUE.
MAINSAIL Language Manual, Section 47.12