Trees | Indices | Help |
---|
|
object --+ | messaging.Options --+ | 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) |
|
||
|
|||
Inherited from Inherited from |
|
|||
str |
FORMAT =
The datetime format. |
||
[str,..] |
DURATION =
The duration keywords. |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
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.
|
str(x)
|
|
FORMATThe datetime format. ISO 8601
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu May 2 09:10:29 2013 | http://epydoc.sourceforge.net |