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

◆ time_find_system_time_zone_by_id()

static time_zone_info xtd::time_zone_info::time_find_system_time_zone_by_id ( const string id)
static

Retrieves a time_zone_info object from the registry based on its identifier.

Parameters
idThe time zone identifier, which corresponds to the Id property.
Returns
An object whose identifier is the value of the id parameter.
Exceptions
ArgumentNullExceptionThe id parameter is null.
TimeZoneNotFoundExceptionThe time zone identifier specified by id was not found. This means that a registry key whose name matches id does not exist, or that the key exists but does not contain any time zone data.