#include <Timezone.hpp>
Inheritance diagram for Timezone:

Public Types | |
| typedef RefCountPointer< const Timezone > | Ptr |
Public Member Functions | |
| Timezone (const MAPM &seconds) | |
| Constructor. | |
| Timezone (const ATDurationOrDerived::Ptr &duration, const DynamicContext *context) | |
| Constructor. | |
| bool | equals (const Timezone::Ptr &other) const |
| Returns true if other is equal to this, false otherwise. | |
| ATDurationOrDerived::Ptr | asDayTimeDuration (const DynamicContext *context) const |
| const XMLCh * | asString (const DynamicContext *context) const |
| Returns a string representation of this Timezone. | |
| const MAPM & | asSeconds () const |
| Returns the whole timezone expressed in seconds. | |
Static Public Member Functions | |
| static MAPM | convert (bool positive, int hour, int minute) |
| static void | validate (const MAPM &tz) |
|
|
|
|
|
Constructor. Creates a Timezone representing the given number of seconds. |
|
||||||||||||
|
Constructor. Creates a Timezone representing the given duration. |
|
|
|
|
|
Returns the whole timezone expressed in seconds.
|
|
|
Returns a string representation of this Timezone. If positive, does print leading '+' sign, and if UTC returns "Z". |
|
||||||||||||||||
|
|
|
|
Returns true if other is equal to this, false otherwise.
|
|
|
|
1.4.6