Provides information about a time zone adjustment, such as the transition to and from daylight saving time.
Public Properties | |
| auto | date_end () const noexcept -> const xtd::date_time & |
| Gets the date when the adjustment rule ceases to be in effect. | |
| auto | date_start () const noexcept -> const xtd::date_time & |
| Gets the date when the adjustment rule takes effect. | |
| auto | daylight_delta () const noexcept -> xtd::time_span |
| Gets the amount of time that is required to form the time zone's daylight saving time. This amount of time is added to the time zone's offset from Coordinated Universal Time (UTC). | |
| auto | daylight_transition_end () const noexcept -> transition_time |
| Gets information about the annual transition from daylight saving time back to standard time. | |
| auto | daylight_transition_start () const noexcept -> transition_time |
| Gets information about the annual transition from standard time to daylight saving time. | |
Public Methods | |
| auto | equals (const xtd::object &obj) const noexcept -> bool override |
| Determines whether the specified object is equal to the current object. | |
| auto | equals (const adjustment_rule &ar) const noexcept -> bool override |
| Determines whether the specified object is equal to the current object. | |
| auto | get_hash_code () const noexcept -> xtd::usize override |
| Serves as a hash function for a particular type. | |
Additional Inherited Members | |
| virtual auto | equals (const adjustment_rule &) const noexcept -> bool=0 |
| Indicates whether the current object is equal to another object of the same type. | |
| object ()=default | |
| Create a new instance of the ultimate base class object. | |
| virtual auto | get_type () const noexcept -> type_object |
| Gets the type of the current instance. | |
| template<typename object_t> | |
| auto | memberwise_clone () const -> xtd::unique_ptr_object< object_t > |
| Creates a shallow copy of the current object. | |
| virtual auto | to_string () const -> xtd::string |
| Returns a xtd::string that represents the current object. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are considered equal. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are the same instance. | |
|
nodiscardnoexcept |
Gets the date when the adjustment rule ceases to be in effect.
date_time::max_value().date()to the xtd::time_zone_info::adjustment_rule::date_end property when you create a custom adjustment rule.
|
nodiscardnoexcept |
Gets the date when the adjustment rule takes effect.
date_time::min_value().date()to the xtd::time_zone_info::adjustment_rule::date_end property when you create a custom adjustment rule for use in a time zone-aware application that does not have to work with historic time zone information.
|
nodiscardnoexcept |
Gets the amount of time that is required to form the time zone's daylight saving time. This amount of time is added to the time zone's offset from Coordinated Universal Time (UTC).
|
nodiscardnoexcept |
Gets information about the annual transition from daylight saving time back to standard time.
|
nodiscardnoexcept |
Gets information about the annual transition from standard time to daylight saving time.
|
nodiscardoverridevirtualnoexcept |
Determines whether the specified object is equal to the current object.
| obj | The object to compare with the current object. |
Reimplemented from xtd::object.
|
nodiscardoverridenoexcept |
Determines whether the specified object is equal to the current object.
| ar | The object to compare with the current object. |
|
nodiscardoverridevirtualnoexcept |
Serves as a hash function for a particular type.
Reimplemented from xtd::object.