def name_from_string(self, tzname_str):
if not tzname_str.startswith('<STR_LIT:@>'):<EOL><INDENT>return tzname_str<EOL><DEDENT>name_splt = tzname_str.split('<STR_LIT>')<EOL>try:<EOL><INDENT>offset = int(name_splt[<NUM_LIT:1>])<EOL><DEDENT>except:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>return self.load_name(offset)<EOL>
Parse strings as returned from the Windows registry into the time zone
name as defined in the registry.

>>> from dateutil.tzwin import tzres
>>> tzr = tzres()
>>> print(tzr.name_from_string('@tzres.dll,-251'))
'Dateline Daylight Time'
>>> print(tzr.name_from_string('Eastern Standard Time'))
'Eastern Standard Time'

:param tzname_str:
    A timezone name string as returned from a Windows registry key.

:return:
    Returns the localized timezone string from tzres.dll if the string
    is of the form `@tzres.dll,-offset`, else returns the input string.