win32timezone.resolveMUITimeZone

resolveMUITimeZone(spec)

Resolve a multilingual user interface resource for the time zone name

Parameters

spec :

spec

Comments

spec should be of the format @path,-stringID[;comment] see http://msdn2.microsoft.com/en-us/library/ms725481.aspx for details

>>> #some pre-amble for the doc-tests to be py2k and py3k aware)

>>> try: unicode and None

... except NameError: unicode=str

...

>>> import sys

>>> result = resolveMUITimeZone('@tzres.dll,-110')

>>> expectedResultType = [type(None),unicode][sys.getwindowsversion() >= (6,)]

>>> type(result) is expectedResultType

True