102 bool is_fixed_rule() const noexcept;
161 bool equals(const
object& obj) const noexcept override;
169 xtd::
size get_hash_code() const noexcept override;
175 bool is_fixed_date_rule_ = true;
251 bool equals(const
object& obj) const noexcept override;
259 xtd::
size get_hash_code() const noexcept override;
266 transition_time daylight_transition_end_;
267 transition_time daylight_transition_start_;
272 time_zone_info() =
default;
273 time_zone_info(
const string&
id,
const ticks& base_utc_offset,
const string& daylight_name,
const string& display_name,
const string& standard_name,
bool supports_daylight_saving_time);
274 time_zone_info(
const time_zone_info&) =
default;
275 time_zone_info(time_zone_info&&) =
default;
276 time_zone_info& operator =(
const time_zone_info&) =
default;
298 const
string& daylight_name() const noexcept;
310 const
string& display_name() const noexcept;
315 const
string&
id() const noexcept;
322 const
string& standard_name() const noexcept;
327 bool supports_daylight_saving_time() const noexcept;
350 bool equals(const
object& obj) const noexcept override;
362 xtd::
size get_hash_code() const noexcept override;
369 xtd::
string to_string() const noexcept override;
438 ticks base_utc_offset_;
439 string daylight_name_;
440 string display_name_;
441 string standard_name_;
442 bool supports_daylight_saving_time_ = false;
Contains xtd::argument_out_of_range_exception exception.
Represents an instant in time, typically expressed as a date and time of day.
Definition date_time.hpp:85
Defines a generalized comparison method that a value type or class implements to create a type-specif...
Definition icomparable.hpp:21
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:22
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:44
Represents a time interval.
Definition time_span.hpp:29
Provides information about a time zone adjustment, such as the transition to and from daylight saving...
Definition time_zone_info.hpp:197
const xtd::date_time & date_end() const noexcept
Gets the date when the adjustment rule ceases to be in effect.
Provides information about a specific time change, such as the change from daylight saving time to st...
Definition time_zone_info.hpp:66
uint32 day() const noexcept
Gets the day on which the time change occurs.
Represents any time zone in the world.
Definition time_zone_info.hpp:38
ticks base_utc_offset() const noexcept
Gets the time difference between the current time zone's standard time and Coordinated Universal Time...
Contains xtd::date_time class.
Contains xtd::day_of_week enum class.
#define core_export_
Define shared library export.
Definition core_export.hpp:13
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
uint32_t uint32
Represents a 32-bit unsigned integer.
Definition uint32.hpp:23
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
std::chrono::duration< int64, tick > ticks
Represents a tick duration.
Definition ticks.hpp:21
day_of_week
Specifies the day of the week.
Definition day_of_week.hpp:25
Contains xtd::icomparable interface.
Contains xtd::iequatable interface.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::object class.
Contains xtd::string alias.
Contains xtd::ticks typedef.