102 bool is_fixed_rule() const noexcept;
158 using
object::equals;
165 bool is_fixed_date_rule_ = true;
238 using
object::equals;
246 transition_time daylight_transition_end_;
247 transition_time daylight_transition_start_;
252 time_zone_info() =
default;
253 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);
254 time_zone_info(
const time_zone_info&) =
default;
255 time_zone_info(time_zone_info&&) =
default;
256 time_zone_info& operator =(
const time_zone_info&) =
default;
278 const
string& daylight_name() const noexcept;
290 const
string& display_name() const noexcept;
295 const
string&
id() const noexcept;
302 const
string& standard_name() const noexcept;
307 bool supports_daylight_saving_time() const noexcept;
327 using
object::equals;
339 xtd::
string to_string() const noexcept override;
408 ticks base_utc_offset_;
409 string daylight_name_;
410 string display_name_;
411 string standard_name_;
412 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:42
Provides information about a time zone adjustment, such as the transition to and from daylight saving...
Definition time_zone_info.hpp:187
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::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
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.
Represents a time interval.
Definition time_span.hpp:29
Contains xtd::ticks typedef.
Contains xtd::date_time class.