Package spade :: Module BasicFipaDateTime :: Class BasicFipaDateTime
[hide private]
[frames] | no frames]

Class BasicFipaDateTime

source code

Help class to operate dates and times

Instance Methods [hide private]
 
__init__(self, date=None)
constructor date parameter can be suplied
source code
 
fromDateTime(self, dt)
inits the object with another BasicFipaDateTime class
source code
 
fromString(self, string)
loads the date and time from a string
source code
 
getYear(self) source code
 
setYear(self, year) source code
 
getMonth(self) source code
 
setMonth(self, month) source code
 
getDay(self) source code
 
setDay(self, day) source code
 
getHour(self) source code
 
setHour(self, hour) source code
 
getMinutes(self) source code
 
setMinutes(self, minute) source code
 
getSeconds(self) source code
 
setSeconds(self, second) source code
 
getMilliseconds(self) source code
 
setMilliseconds(self, milli) source code
 
getTypeDesignator(self) source code
 
setTypeDesignator(self, tzinfo) source code
 
paddedInt(self, size, val) source code
 
__str__(self)
returns a printable version of the object
source code
 
getTime(self)
returns a printable version of the object
source code
 
getDate(self)
returns a printable version of the object
source code