| Version: 3.0.2

- Main Page
- Related Pages
- Categories
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions | List of all members
wxDateTime::TimeZone Class Reference
Data Structures

`#include <wx/datetime.h>`

## Detailed Description

Class representing a time zone.

The representation is simply the offset, in seconds, from UTC.

## Public Member Functions
| TimeZone (TZ tz)
| Constructor for a named time zone.
| TimeZone (long offset=0)
| Constructor for the given offset in seconds.
long | GetOffset () const
| Return the offset of this time zone from UTC, in seconds.

## Static Public Member Functions
static TimeZone | Make (long offset)
| Create a time zone with the given offset in seconds.

## Constructor & Destructor Documentation

wxDateTime::TimeZone::TimeZone | ( | TZ | tz | ) |

Constructor for a named time zone.

wxDateTime::TimeZone::TimeZone | ( | long | offset = `0` | ) |

Constructor for the given offset in seconds.

## Member Function Documentation

long wxDateTime::TimeZone::GetOffset | ( |  | ) | const

Return the offset of this time zone from UTC, in seconds.

static TimeZone wxDateTime::TimeZone::Make | ( | long | offset | ) |
| static

Create a time zone with the given offset in seconds.