Acspy.Common.DurationHelper
index
/alma/ACS-2016.6/ACSSW/lib/python/site-packages/Acspy/Common/DurationHelper.py

This module contains the implementation of Python helper classes for the ACS
time system.  Specifically, these classes mimic what has been done by the
Control subsystem in C++.
 
TODO:
- EpochHelper and DurationHelper have not been fully tested yet!

 
Modules
       
acstime
acstimeSWIG
sys

 
Classes
       
acstimeSWIG.DurationHelper(acstimeSWIG.TimeUtil)
DurationHelper

 
class DurationHelper(acstimeSWIG.DurationHelper)
    Designed to be a wrapper class for the acstime.Duration struct. This class
is derived directly from the C++ DurationHelper class via SWIG and all inline
doc there is applicable here as well. Only variations from the C++ documentation
is covered here.
 
 
Method resolution order:
DurationHelper
acstimeSWIG.DurationHelper
acstimeSWIG.TimeUtil
__builtin__.object

Methods defined here:
__init__(self, duration=None)
Constructor.
 
Parameters: if duration is specified it is used. Otherwise we assume
member values are decided by reset method.
 
Raises: TypeNotFoundExImpl
add(self, duration)
Overriden.
 
Raises: TypeNotFoundExImpl
compare(self, duration)
Overriden.
 
Raises: TypeNotFoundExImpl
modulo(self, duration)
Overriden.
 
Raises: TypeNotFoundExImpl
subtract(self, duration)
Overriden.
 
Raises: TypeNotFoundExImpl
value(self, duration=None)
Overriden.
 
Raises: TypeNotFoundExImpl

Methods inherited from acstimeSWIG.DurationHelper:
__del__ lambda self
__getattr__ lambda self, name
__iadd__(*args)
__idiv__(*args)
__imod__(*args)
__imul__(*args)
__isub__(*args)
__repr__ = _swig_repr(self)
__setattr__ lambda self, name, value
day(*args)
divide(*args)
fromString(*args)
hour(*args)
microSecond(*args)
minute(*args)
multiply(*args)
normalize(*args)
positive(*args)
reset(*args)
second(*args)
toString(*args)

Data and other attributes inherited from acstimeSWIG.DurationHelper:
__swig_destroy__ = <built-in function delete_DurationHelper>
__swig_getmethods__ = {}
__swig_setmethods__ = {}

Data descriptors inherited from acstimeSWIG.TimeUtil:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        PY64BIT = True
__revision__ = '$Id: DurationHelper.py,v 1.1.1.1 2012/03/07 17:40:45 acaproni Exp $'