Module prototypeslg :: Class GPSDATE
[show private | hide private]
[frames | no frames]

Type GPSDATE

       object --+        
                |        
BaseProtogenClass --+    
                    |    
              UINTlsb --+
                        |
                       GPSDATE


Method Summary
  __init__(self, *args, **kwargs)
A date/time as used in the LG call history files,
tuple getvalue(self)
Convert 32 bit value into date/time
  now(_)
(Class method)
    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)
    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)

Instance Method Details

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

A date/time as used in the LG call history files,
Keyword Parameters:
unique - (True/False, Optional) Ensure that each GSPDATE instance is unique.
Overrides:
prototypes.UINTlsb.__init__

getvalue(self)

Convert 32 bit value into date/time
Returns:
(year, month, day, hour, minute, sec)
           (type=tuple)
Overrides:
prototypes.UINTlsb.getvalue

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