rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWDaylightRule Struct Reference
[Internationalization]

Struct that defines daylight saving time rules. More...

#include <rw/tools/zone.h>

List of all members.

Public Attributes

const RWDaylightRulenext_
short firstYear_
char observed_
RWDaylightBoundary begin_
RWDaylightBoundary end_

Detailed Description

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:


Member Data Documentation

Indicates the time of year, to the minute, when DST begins during this period.

Indicates the time of year, to the minute, when standard time resumes during this period.

Four-digit representation of the year in which this rule first goes into effect.

Points to the next rule in a chain that continues backwards in time.

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

Note:
These are numeric values, as distinguished from "1" and "0".
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.