Logo Search packages:      
Sourcecode: icu version File versions

TimeZoneRule Class Reference

#include <tzrule.h>

Inheritance diagram for TimeZoneRule:

UObject UMemory AnnualTimeZoneRule InitialTimeZoneRule TimeArrayTimeZoneRule

List of all members.


Detailed Description

TimeZoneRule is a class representing a rule for time zone. TimeZoneRule has a set of time zone attributes, such as zone name, raw offset (UTC offset for standard time) and daylight saving time offset.

ICU 3.8

Definition at line 32 of file tzrule.h.


Public Member Functions

virtual TimeZoneRuleclone (void) const =0
int32_t getDSTSavings (void) const
virtual UClassID getDynamicClassID () const =0
virtual UBool getFinalStart (int32_t prevRawOffset, int32_t prevDSTSavings, UDate &result) const =0
virtual UBool getFirstStart (int32_t prevRawOffset, int32_t prevDSTSavings, UDate &result) const =0
UnicodeStringgetName (UnicodeString &name) const
virtual UBool getNextStart (UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate &result) const =0
virtual UBool getPreviousStart (UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate &result) const =0
int32_t getRawOffset (void) const
virtual UBool isEquivalentTo (const TimeZoneRule &other) const
virtual UBool operator!= (const TimeZoneRule &that) const
virtual UBool operator== (const TimeZoneRule &that) const
virtual ~TimeZoneRule ()

Static Public Member Functions

static void U_EXPORT2 operator delete (void *, void *) U_NO_THROW
static void U_EXPORT2 operator delete (void *p) U_NO_THROW
static void U_EXPORT2 operator delete[] (void *p) U_NO_THROW
static void *U_EXPORT2 operator new (size_t, void *ptr) U_NO_THROW
static void *U_EXPORT2 operator new (size_t size) U_NO_THROW
static void *U_EXPORT2 operator new[] (size_t size) U_NO_THROW

Protected Member Functions

TimeZoneRuleoperator= (const TimeZoneRule &right)
 TimeZoneRule (const TimeZoneRule &source)
 TimeZoneRule (const UnicodeString &name, int32_t rawOffset, int32_t dstSavings)

Private Attributes

int32_t fDSTSavings
UnicodeString fName
int32_t fRawOffset

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index