ionflux.org | Impressum

Ionflux::Tools::DSTSwitchingRule Struct Reference
[Date and time]

Daylight saving time switching rule. More...

#include <TimeZone.hpp>

List of all members.

Public Attributes

int type
 Switching rule type.
int month
 Month (1...12).
int weekDay
 Day of week (0...6 where 0 = Sunday).
int week
 Week of month (1.
int hour
 Hour (0...23).
int minute
 Minute (0...59).
int second
 Second (0...59).

Static Public Attributes

static const int DSR_TYPE_TO_DST = 0
 Switching rule type: To DST.
static const int DSR_TYPE_TO_NORMAL = 1
 Switching rule type: To normal.


Detailed Description

Daylight saving time switching rule.

Use this to specify a general rule on when to switch between daylight saving time and normal time.

Note:
Switching times are specified in the time currently in effect at the time of switching, i.e. normal local time for DSR_TO_DST and local daylight saving time for DSR_TO_NORMAL.


Member Data Documentation

const int Ionflux::Tools::DSTSwitchingRule::DSR_TYPE_TO_DST = 0 [static]
 

Switching rule type: To DST.

const int Ionflux::Tools::DSTSwitchingRule::DSR_TYPE_TO_NORMAL = 1 [static]
 

Switching rule type: To normal.

int Ionflux::Tools::DSTSwitchingRule::hour
 

Hour (0...23).

int Ionflux::Tools::DSTSwitchingRule::minute
 

Minute (0...59).

int Ionflux::Tools::DSTSwitchingRule::month
 

Month (1...12).

int Ionflux::Tools::DSTSwitchingRule::second
 

Second (0...59).

int Ionflux::Tools::DSTSwitchingRule::type
 

Switching rule type.

int Ionflux::Tools::DSTSwitchingRule::week
 

Week of month (1.

..5).

1 means the first week the specified day of week occurs in.
2...4 means the n-th week the specified day of week occurs in.
5 means the last week the specified day of week occurs in.

int Ionflux::Tools::DSTSwitchingRule::weekDay
 

Day of week (0...6 where 0 = Sunday).


The documentation for this struct was generated from the following files:
Generated on Tue Mar 14 21:11:16 2006 for Ionflux Tools Class Library (iftools) by  doxygen 1.4.6