Logo Search packages:      
Sourcecode: icu version File versions

DateTimeRule Class Reference

#include <dtrule.h>

Inheritance diagram for DateTimeRule:

UObject UMemory

List of all members.


Detailed Description

DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.

ICU 3.8

Definition at line 29 of file dtrule.h.


Public Types

enum  DateRuleType { DOM = 0, DOW, DOW_GEQ_DOM, DOW_LEQ_DOM }
enum  TimeRuleType { WALL_TIME = 0, STANDARD_TIME, UTC_TIME }

Public Member Functions

DateTimeRuleclone (void) const
 DateTimeRule (const DateTimeRule &source)
 DateTimeRule (int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UBool after, int32_t millisInDay, TimeRuleType timeType)
 DateTimeRule (int32_t month, int32_t weekInMonth, int32_t dayOfWeek, int32_t millisInDay, TimeRuleType timeType)
 DateTimeRule (int32_t month, int32_t dayOfMonth, int32_t millisInDay, TimeRuleType timeType)
DateRuleType getDateRuleType (void) const
virtual UClassID getDynamicClassID (void) const
int32_t getRuleDayOfMonth (void) const
int32_t getRuleDayOfWeek (void) const
int32_t getRuleMillisInDay (void) const
int32_t getRuleMonth (void) const
int32_t getRuleWeekInMonth (void) const
TimeRuleType getTimeRuleType (void) const
UBool operator!= (const DateTimeRule &that) const
DateTimeRuleoperator= (const DateTimeRule &right)
UBool operator== (const DateTimeRule &that) const
 ~DateTimeRule ()

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

Private Attributes

DateRuleType fDateRuleType
int32_t fDayOfMonth
int32_t fDayOfWeek
int32_t fMillisInDay
int32_t fMonth
TimeRuleType fTimeRuleType
int32_t fWeekInMonth

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

Generated by  Doxygen 1.6.0   Back to index