MiscUtils.DateInterval | index /usr/local/share/webware/MiscUtils/DateInterval.py |
DateInterval.py
Convert interval strings (in the form of 1w2d, etc) to
seconds, and back again. Is not exactly about months or
years (leap years in particular).
Accepts (y)ear, (b)month, (w)eek, (d)ay, (h)our, (m)inute, (s)econd.
Exports only timeEncode and timeDecode functions.
Modules | ||||||
|
Data | ||
__all__ = [<function timeEncode at 0x83f9e9c>, <function timeDecode at 0x83fa80c>] |