SourcePro® 2025.1 |
SourcePro® API Reference Guide |
Struct that defines daylight saving time rules. More...
#include <rw/tools/zone.h>
Public Attributes | |
| RWDaylightBoundary | begin_ |
| RWDaylightBoundary | end_ |
| short | firstYear_ |
| const RWDaylightRule * | next_ |
| char | observed_ |
The RWDaylightRule struct defines daylight saving time rules and is passed to RWZoneSimple's constructor. It can define a single rule for all years or the head of a chain of rules going backwards in time.
RWDaylightRule has no constructors. The data members of this structure are as follows:
| RWDaylightBoundary RWDaylightRule::begin_ |
Indicates the time of year, to the minute, when DST begins during this period.
| RWDaylightBoundary RWDaylightRule::end_ |
Indicates the time of year, to the minute, when standard time resumes during this period.
| short RWDaylightRule::firstYear_ |
Four-digit representation of the year in which this rule first goes into effect.
| const RWDaylightRule* RWDaylightRule::next_ |
Points to the next rule in a chain that continues backwards in time.
| char RWDaylightRule::observed_ |
A boolean value that can be used to specify a period of years for which Daylight Saving Time is not observed.
1 = Daylight Saving Time is in effect during this period
0 = Daylight Saving Time is not in effect during this period
|
Copyright © 2025 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |