Home | Trees | Indices | Help |
|
---|
|
??-173 --+ | Window
Represents a maintenance (time) window. An empty Window defines an unbounded window. A begin of 'None' = UTC now. An end of 'None' = begin plus 1 hour.
|
|||
|
|||
bool |
|
||
bool |
|
||
bool |
|
||
dict |
|
||
dict |
|
||
bool |
|
||
(datetime, datetime) |
|
||
|
|
|||
str |
FORMAT = '%Y-%m-%dT%H:%M:%S' The datetime format. |
||
[str,..] |
DURATION = 'days', 'seconds', 'minutes', 'hours', 'weeks' The duration keywords. |
|
Note: An empty window indicates an unbounded window. |
Get whether the current datetime (UTC) falls within the window.
Note: Empty = match ALL. |
Get whether window is in the future.
Note: Empty = match ALL. |
Get whether window is in the past.
Note: Empty = match ALL. |
Set the proper window beginning. Performs:
|
Set the proper window ending. Performs:
|
Get whether one of the duration keywords are specified in the window definition.
|
Convert to datetime objects.
|
|
FORMATThe datetime format. ISO 8601
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Sep 7 12:30:32 2010 | http://epydoc.sourceforge.net |