xtd 0.2.0
Loading...
Searching...
No Matches

◆ supports_daylight_saving_time()

bool xtd::time_zone_info::supports_daylight_saving_time ( ) const
noexcept

Gets a value indicating whether the time zone has any daylight saving time rules.*.

Returns
bool true if the time zone supports daylight saving time; otherwise, false.
Remarks
The value of the SupportsDaylightSavingTime property for the local time zone returned by the time_zone_info.Local property reflects the setting of the Control Panel Date and Time application's checkbox that defines whether the system automatically adjusts for daylight saving time. If it is unchecked, or if no checkbox is displayed for a time zone, the value of this property is false.