class documentation
class TimeUnit(bb.Union): (source)
This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Method | is |
Check if the union tag is ``days``. |
Method | is |
Check if the union tag is ``hours``. |
Method | is |
Check if the union tag is ``milliseconds``. |
Method | is |
Check if the union tag is ``minutes``. |
Method | is |
Check if the union tag is ``months``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``seconds``. |
Method | is |
Check if the union tag is ``weeks``. |
Method | is |
Check if the union tag is ``years``. |
Class Variable | days |
Undocumented |
Class Variable | hours |
Undocumented |
Class Variable | milliseconds |
Undocumented |
Class Variable | minutes |
Undocumented |
Class Variable | months |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | seconds |
Undocumented |
Class Variable | weeks |
Undocumented |
Class Variable | years |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |