Class that stores a date and time. Derives from spug.util.Date.Date and supports all of its functionality.
def __cmp__(self, other):
Overrides the date comparison operator to allow us to compare time.
Note that all of Dates construction forms are supported except for
stdfmt.
Overrides
spug.util.Date.Date._toTime() to include hour, minute and second.
Returns the hour of the day (0-23)
Returns the minute of the hour (0-59)
Returns the second
__init__(self, timeval, other, year, month, day, hour, minute, second, foreverPast, foreverFuture)
def __init__(self, timeval = 0, other = None, year = 0, month = 0, day = 0,
hour = 0, minute = 0, second = 0, foreverPast = 0,
foreverFuture = 0
):
__str__(self)
def __str__(self):
_toTime(self)
def _toTime(self):
getHour(self)
def getHour(self):
getMinute(self)
def getMinute(self):
getSecond(self)
def getSecond(self):