HydraExpress™ C++ 2020 |
HydraExpress™ C++ API Reference Guide |
Product Documentation: HydraExpress C++ Documentation Home |
Encapsulates the month
, week
, weekday
, and minute
of a Daylight Saving Time rule.
More...
#include <rwsf/core/TimeZone.h>
Public Attributes | |
int | minute_ |
int | month_ |
int | week_ |
int | weekday_ |
DaylightBoundary is a simple data structure that captures the month
, week
, weekday
, and exact minute
of a DST rule boundary. The boundary can either be when DST is enabled, or when DST is disabled.
DaylightBoundary is used primarily to make DaylightRule structures when creating a DST rule set (see the struct description of DaylightRule for a guide on how to create DST rule sets).
Since this is a simple data structure, a DaylightBoundary can be created inline using { }
notation:
int rwsf::DaylightBoundary::minute_ |
Minutes after 12:00 AM, from (0 - 1439)
. For example, 120 = 2 AM
.
int rwsf::DaylightBoundary::month_ |
The month from (0 - 11)
, where 0
= January
.
int rwsf::DaylightBoundary::week_ |
A week of the month from (0 - 4)
, or -1
if the weekday_
field represents a day within the month.
int rwsf::DaylightBoundary::weekday_ |
A day of the week from (0 - 6)
, where 0
= Sunday
, or, if the week_
field is -1
, a day of the month from (1 - 31)
.
Copyright © 2020 Rogue Wave Software, Inc. All Rights Reserved. |