Module prototypes_samsung :: Class DateTime2
[show private | hide private]
[frames | no frames]

Type DateTime2

       object --+                
                |                
BaseProtogenClass --+            
                    |            
              UINTlsb --+        
                        |        
                 DateTime --+    
                            |    
                    DateTime1 --+
                                |
                               DateTime2


Method Summary
  __init__(self, *args, **kwargs)
An integer value can be specified in the constructor, or as the value keyword arg.
    Inherited from DateTime1
tuple getvalue(self)
Unpack 32 bit value into date/time
    Inherited from DateTime
  now(_)
(Class method)
  _converttoint(self, date)
  _update(self, args, kwargs)
    Inherited from UINTlsb
  packetsize(self)
Returns size in bytes that we occupy
  readfrombuffer(self, buf)
Get our value from the buffer
  writetobuffer(self, buf)
Scribble ourselves to the buf
    Inherited from BaseProtogenClass
  autologread(self, buf, logtitle)
  autologwrite(self, buf, logtitle)
  iscontainer(self)
Do we contain fields?
  packetspan(self)
Returns tuple of begining,end offsets from last packet we were read or written from.
  update(self, *args, **kwargs)
  _complainaboutunusedargs(self, klass, dict)
A helper function that will raise an exception if there are unused keyword arguments.
  _consumekw(self, dict, consumelist)
A helper function for easily setting internal values from the dict
  _ismostderived(self, klass)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
float _time_delta = 315532800.0                                                           
    Inherited from DateTime
NoneType _daylight = None                                                                  

Instance Method Details

__init__(self, *args, **kwargs)
(Constructor)

An integer value can be specified in the constructor, or as the value keyword arg.
Keyword Parameters:
constant - (Optional) A constant value. All reads must have this value
constantexception - (Optional) Type of exception raised when data doesn't match constant.
sizeinbytes - (Mandatory for writing, else Optional) How big we are in bytes
default - (Optional) Our default value
value - (Optional) The value
Overrides:
prototypes_samsung.DateTime1.__init__ (inherited documentation)

Class Variable Details

_time_delta

Type:
float
Value:
315532800.0                                                           

Generated by Epydoc 2.1 on Fri Aug 15 18:58:34 2008 http://epydoc.sf.net