||Methods defined here:|
- Return the day of the year (ranging from 1 to 366)
- GetNow(self, unit=None)
- Return present date/time
unit can be set to 'year', 'month', 'day', 'hour', 'minute' or 'seconds'.
set to None, then the present date in string format is returned.
- Print out state
- SetNow(self, it)
- Compute the datetime corresponding to time index 'it'.
The result is stored in member 'now'.
- __init__(self, axis, pat=<_sre.SRE_Pattern object>)
axis: an nvAxis object.
pat: a regular expression pattern, which will be used to extract
the starting date and the time units from
The latter is, by default assumed to be of the form
<units> since <year>-<month>-<day> HH:MM:SS