vtools.data.vtime¶
Basic ops for creating, testing and manipulating times and time intervals. This module contains factory and helper functions for working with times and time intervals.
For time intervals (or deltas), VTools uses classes that are compatible with the “freq” argument of
requires a time and time interval system that is consistent (e.g. time+n*interval makes sense) and that can be applied to both calendar dependent and calendar-independent intervals. Because this requirement is not met by any one implementation it is recommended that you always use the factory functions in this module for creating intervals or testing whether an interval is valid.
Functions
|
Create a time interval representing d days |
|
Convert timezone-unaware series from a local (with daylight) time to standard time This would be useful, say, for converting a series that is PDT during summer to one that is not. |
|
Create a time interval representing h hours |
|
Create a time interval representing m minutes |
|
Create a time interval representing m months |
|
Create a time interval representing s seconds |
|
Create a time interval representing y years |