You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			27 lines
		
	
	
		
			912 B
		
	
	
	
		
			Python
		
	
			
		
		
	
	
			27 lines
		
	
	
		
			912 B
		
	
	
	
		
			Python
		
	
import sys
 | 
						|
from ctypes import _Pointer, c_wchar
 | 
						|
from datetime import datetime, timedelta
 | 
						|
from typing import Any, ClassVar, Final
 | 
						|
 | 
						|
from dateutil.tz import tzwin as tzwin, tzwinlocal as tzwinlocal
 | 
						|
 | 
						|
if sys.platform == "win32":
 | 
						|
    from winreg import _KeyType
 | 
						|
 | 
						|
    __all__ = ["tzwin", "tzwinlocal", "tzres"]
 | 
						|
 | 
						|
    ONEWEEK: timedelta
 | 
						|
    TZKEYNAMENT: Final[str]
 | 
						|
    TZKEYNAME9X: Final[str]
 | 
						|
    TZLOCALKEYNAME: Final[str]
 | 
						|
    TZKEYNAME: Final[str]
 | 
						|
 | 
						|
    class tzres:
 | 
						|
        p_wchar: ClassVar[type[_Pointer[c_wchar]]]
 | 
						|
        def __init__(self, tzres_loc="tzres.dll"): ...
 | 
						|
        def load_name(self, offset): ...
 | 
						|
        def name_from_string(self, tzname_str: str): ...
 | 
						|
 | 
						|
    def picknthweekday(year: int, month: int, dayofweek: int, hour: int, minute: int, whichweek: int) -> datetime: ...
 | 
						|
    def valuestodict(key: _KeyType) -> dict[str, Any]: ...  # keys and values in dict are results of winreg.EnumValue() function
 |