/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes | Static Public Attributes | Properties
DybPython::dbvld::DateString Class Reference
Collaboration diagram for DybPython::dbvld::DateString:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __repr__

Public Attributes

 val

Static Public Attributes

string fmt = "%Y-%m-%d %H:%M:%S"

Properties

 timetuple = property( lambda self:time.strptime(self.val, self.fmt) )
 datetime = property( lambda self:datetime(*self.timetuple[0:6]) )

Detailed Description

Definition at line 19 of file dbvld.py.


Constructor & Destructor Documentation

def DybPython::dbvld::DateString::__init__ (   self,
  arg 
)

Definition at line 21 of file dbvld.py.

00022                             :
00023         self.val = unquote(arg)
00024         ct = time.strftime( self.fmt, self.timetuple )
        assert ct == self.val , "%s parse error %s %s " % ( self.__class__.__name__, self.val , ct )

Member Function Documentation

def DybPython::dbvld::DateString::__repr__ (   self)

Definition at line 27 of file dbvld.py.

00028                       :
00029         return repr(self.datetime)


Member Data Documentation

string DybPython::dbvld::DateString::fmt = "%Y-%m-%d %H:%M:%S" [static]

Definition at line 20 of file dbvld.py.

Definition at line 21 of file dbvld.py.


Property Documentation

DybPython::dbvld::DateString::timetuple = property( lambda self:time.strptime(self.val, self.fmt) ) [static]

Definition at line 25 of file dbvld.py.

DybPython::dbvld::DateString::datetime = property( lambda self:datetime(*self.timetuple[0:6]) ) [static]

Definition at line 26 of file dbvld.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:55:41 for DybPython by doxygen 1.7.4