Logo Search packages:      
Sourcecode: icu version File versions

AnnualTimeZoneRule Class Reference

#include <tzrule.h>

Inheritance diagram for AnnualTimeZoneRule:

TimeZoneRule UObject UMemory

List of all members.


Detailed Description

AnnualTimeZoneRule is a class used for representing a time zone rule which takes effect annually. The calenday system used for the rule is is based on Gregorian calendar

ICU 3.8

Definition at line 376 of file tzrule.h.


Public Member Functions

 AnnualTimeZoneRule (const AnnualTimeZoneRule &source)
 AnnualTimeZoneRule (const UnicodeString &name, int32_t rawOffset, int32_t dstSavings, DateTimeRule *dateTimeRule, int32_t startYear, int32_t endYear)
 AnnualTimeZoneRule (const UnicodeString &name, int32_t rawOffset, int32_t dstSavings, const DateTimeRule &dateTimeRule, int32_t startYear, int32_t endYear)
virtual AnnualTimeZoneRuleclone (void) const
int32_t getDSTSavings (void) const
virtual UClassID getDynamicClassID (void) const
int32_t getEndYear (void) const
virtual UBool getFinalStart (int32_t prevRawOffset, int32_t prevDSTSavings, UDate &result) const
virtual UBool getFirstStart (int32_t prevRawOffset, int32_t prevDSTSavings, UDate &result) const
UnicodeStringgetName (UnicodeString &name) const
virtual UBool getNextStart (UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate &result) const
virtual UBool getPreviousStart (UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate &result) const
int32_t getRawOffset (void) const
const DateTimeRulegetRule (void) const
UBool getStartInYear (int32_t year, int32_t prevRawOffset, int32_t prevDSTSavings, UDate &result) const
int32_t getStartYear (void) const
virtual UBool isEquivalentTo (const TimeZoneRule &that) const
virtual UBool operator!= (const TimeZoneRule &that) const
AnnualTimeZoneRuleoperator= (const AnnualTimeZoneRule &right)
virtual UBool operator== (const TimeZoneRule &that) const
virtual ~AnnualTimeZoneRule ()

Static Public Member Functions

static UClassID U_EXPORT2 getStaticClassID (void)
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

Static Public Attributes

static const int32_t MAX_YEAR = 0x7FFFFFFF

Private Attributes

DateTimeRulefDateTimeRule
int32_t fEndYear
int32_t fStartYear

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

Generated by  Doxygen 1.6.0   Back to index