#include <time_zone_info.h>
Provides information about a time zone adjustment, such as the transition to and from daylight saving time.
- Inheritance
- xtd::object → xtd::adjustement_rule
- Implements
- xtd::iequatable <>
- Namespace
- xtd
- Library
- xtd.core
- Note
- An instance of the xtd::time_zone_info::adjustment_rule class is immutable. Once an object has been created, its values cannot be modified.
|
bool | equals (const adjustement_rule &ar) const noexcept override |
|
bool | equals (const object &obj) const noexcept override |
| Determines whether the specified object is equal to the current object. More...
|
|
|
virtual bool | equals (const adjustement_rule &) const noexcept=0 |
| Indicates whether the current object is equal to another object of the same type. More...
|
|
| object ()=default |
| Create a new instance of the ultimate base class object. More...
|
|
virtual size_t | get_hash_code () const noexcept |
| Serves as a hash function for a particular type. More...
|
|
template<typename object_t > |
std::unique_ptr< object_t > | memberwise_clone () const |
| Gets the type of the current instance. More...
|
|
virtual xtd::ustring | to_string () const noexcept |
| Returns a sxd::ustring that represents the current object. More...
|
|
static bool | equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are considered equal. More...
|
|
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are the same instance. More...
|
|
◆ equals()
bool xtd::time_zone_info::adjustement_rule::equals |
( |
const object & |
obj | ) |
const |
|
inlineoverridevirtualnoexcept |
Determines whether the specified object is equal to the current object.
- Parameters
-
obj | The object to compare with the current object. |
- Returns
- true if the specified object is equal to the current object. otherwise, false.
- Examples
- The following code example compares the current instance with another object.
Reimplemented from xtd::object.
The documentation for this class was generated from the following file: