#include <Timezone.hpp>
|
static MAPM | convert (bool positive, int hour, int minute) |
|
static void | validate (const MAPM &tz) |
|
◆ Ptr
◆ Timezone() [1/2]
Timezone::Timezone |
( |
const MAPM & | seconds | ) |
|
Constructor.
Creates a Timezone representing the given number of seconds.
◆ Timezone() [2/2]
Constructor.
Creates a Timezone representing the given duration.
◆ asDayTimeDuration()
◆ asSeconds()
const MAPM & Timezone::asSeconds |
( |
| ) |
const |
|
inline |
Returns the whole timezone expressed in seconds.
◆ asString()
const XMLCh * Timezone::asString |
( |
const DynamicContext * | context | ) |
const |
Returns a string representation of this Timezone.
If positive, does print leading '+' sign, and if UTC returns "Z".
◆ convert()
static MAPM Timezone::convert |
( |
bool | positive, |
|
|
int | hour, |
|
|
int | minute ) |
|
static |
◆ equals()
Returns true if other is equal to this, false otherwise.
◆ validate()
static void Timezone::validate |
( |
const MAPM & | tz | ) |
|
|
static |
The documentation for this class was generated from the following file: