Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Functions | |
def | tzparse |
def | tzlocaltime |
def | tzset |
def | isdst |
def | localtime |
def | test |
Variables | |
tuple | tzpat |
tzprog = None | |
Parse a timezone specification.
def tzparse.isdst | ( | secs) |
Return true if daylight-saving time is in effect for the given Unix time in the current timezone.
Definition at line 62 of file tzparse.py.
References tzset().
def tzparse.localtime | ( | secs) |
Get the local time in the current timezone.
Definition at line 74 of file tzparse.py.
References tzlocaltime().
def tzparse.test | ( | ) |
def tzparse.tzlocaltime | ( | secs, | |
params | |||
) |
Given a Unix time in seconds and a tuple of information about a timezone as returned by tzparse(), return the local time in the form (year, month, day, hour, min, sec, yday, wday, tzname).
Definition at line 38 of file tzparse.py.
def tzparse.tzparse | ( | tzstr) |
Given a timezone spec, return a tuple of information (tzname, delta, dstname, daystart, hourstart, dayend, hourend), where 'tzname' is the name of the timezone, 'delta' is the offset in hours from GMT, 'dstname' is the name of the daylight-saving timezone, and 'daystart'/'hourstart' and 'dayend'/'hourend' specify the starting and ending points for daylight saving time.
Definition at line 16 of file tzparse.py.
def tzparse.tzset | ( | ) |
Determine the current timezone from the "TZ" environment variable.
Definition at line 51 of file tzparse.py.
tuple tzpat |
Definition at line 11 of file tzparse.py.
tzprog = None |
Definition at line 14 of file tzparse.py.