Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The ITimeZoneinterface provides read-only access to standard and daylight savings time zone information. You can create a time zone object by calling IPOutlookApp::GetTimeZoneFromIndex.
Methods in Vtable Order
ITimeZone methods | Description |
---|---|
Gets the current bias, in minutes, for local time translation on this computer. |
|
Determines whether a time zone supports daylight-saving time. |
|
Gets whether StandardDateis an absolute or relative date. |
|
Determines whether DaylightDateis absolute or relative. |
|
Gets the offset in minutes added to a time zone when it is in standard time. |
|
Gets the name of a time zone when standard time is in effect. |
|
Determines when a time zone enters standard time. |
|
Gets the day of the week daylight-saving time starts. |
|
Gets the week of the month (one to five) standard time starts. |
|
Gets the month standard time starts. |
|
Gets the offset in minutes added to the bias when the time zone is in daylight-saving time. |
|
Gets the name of this time zone when daylight-saving time is in effect. |
|
Gets the date that a time zone enters daylight-saving time. |
|
Gets the day of the week that daylight-saving time starts. |
|
Gets the week of the month (from one to five) daylight-saving time starts. |
|
Gets the month of the year daylight-saving time starts. |
|
Gets the main Outlook Mobile IPOutlookAppobject. |
Remarks
If a time zone does not support daylight-saving time ( SupportsDSTis FALSE), all subsequent values in the table are undefined.
The change between standard time and daylight-saving time is absolute if it falls on a particular date (such as April 5), and relative if it falls on a particular day (such as the first Sunday in April). The method used to find the times and dates of the changes depends on whether IsStandardAbsoluteDateand IsDaylightAbsoluteDateare TRUEor FALSE.
If IsStandardAbsoluteDateor IsDaylightAbsoluteDateis TRUE, then the date is absolute.
- To find when a time zone changes from standard time to
daylight-saving time, get
DaylightDateand discard the year value.
- To find when a time zone changes from daylight-saving time to
standard time, get
StandardDateand discard the year value.
If IsStandardAbsoluteDateor IsDaylightAbsoluteDateis FALSE, then the date is relative.
- To find the day a time zone changes from standard time to
daylight-saving time, get
DaylightDayOfWeekMaskfor the day,
DaylightInstancefor the week, and
DaylightMonthOfYearfor the month. To find the time for the
change, get
DaylightDateand discard everything but the hours, minutes, and
seconds.
- To find the day a time zone changes from daylight-saving time
to standard time, get
StandardDayOfWeekMaskfor the day,
StandardInstancefor the week, and
StandardMonthOfYearfor the month. To find the time for the
change, get
StandardDateand discard everything but the hours, minutes, and
seconds.
Requirements
Header | pimstore.h |
Library | Pimstore.lib |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |