TimeZoneRule is a class representing a rule for time zone.
TimeZoneTransition is a class representing a time zone transition.
TimeZoneTransition(UDate time, const TimeZoneRule &from, const TimeZoneRule &to)
Constructs a TimeZoneTransition with the time and the rules before/after the transition.
virtual UClassID getDynamicClassID() const override
Returns a unique class ID POLYMORPHICALLY.
TimeZoneTransition()
Constructs an empty TimeZoneTransition
void setTo(const TimeZoneRule &to)
Sets the rule used after the transition.
const TimeZoneRule * getFrom() const
Returns the rule used before the transition.
void setFrom(const TimeZoneRule &from)
Sets the rule used before the transition.
TimeZoneTransition & operator=(const TimeZoneTransition &right)
Assignment operator.
TimeZoneTransition(const TimeZoneTransition &source)
Copy constructor.
const TimeZoneRule * getTo() const
Returns the rule used after the transition.
static UClassID getStaticClassID()
Return the class ID for this class.
TimeZoneTransition * clone() const
Clone this TimeZoneTransition object polymorphically.
void adoptTo(TimeZoneRule *to)
Adopts the rule used after the transition.
UDate getTime() const
Returns the time of transition in milliseconds.
void adoptFrom(TimeZoneRule *from)
Adopts the rule used before the transition.
void setTime(UDate time)
Sets the time of transition in milliseconds.
bool operator==(const TimeZoneTransition &that) const
Return true if the given TimeZoneTransition objects are semantically equal.
~TimeZoneTransition()
Destructor.
bool operator!=(const TimeZoneTransition &that) const
Return true if the given TimeZoneTransition objects are semantically unequal.
UObject is the common ICU "boilerplate" class.
C++ API: Common ICU base class UObject.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Basic definitions for ICU, for both C and C++ APIs.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
double UDate
Date and Time data type.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4