previous next top contents index framed top this page unframed
Figure 36–7. $getDSTStartRule
| STRING PROCEDURE $getDSTStartRule (PRODUCES OPTIONAL BOOLEAN wasSet); |
$getDSTStartRule returns a STRING that describes how to compute when Daylight Savings Time (DST) goes into effect each year. The format of the rule STRING is:
monthName weekdayName occurrence timeOfDay
or:
monthName dateOfMonth timeOfDay
e.g.:
April Sunday 1 2:00
meaning the first Sunday in April 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. wasSet is set to the value of $timeSubcommandsSet. The value of the DST start rule is set by $setDSTStartRule or by the MAINEX subcommand DSTSTARTRULE. 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.
MAINSAIL Language Manual, Section 36.9