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

Class DateTime2

source code

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

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
An integer value can be specified in the constructor, or as the value keyword arg.
source code

Inherited from DateTime1: getvalue

Inherited from DateTime (private): _converttoint, _update

Inherited from prototypes.UINTlsb: packetsize, readfrombuffer, writetobuffer

Inherited from prototypes.BaseProtogenClass: autologread, autologwrite, iscontainer, packetspan, update

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Methods [hide private]

Inherited from DateTime: now

Class Variables [hide private]
  _time_delta = 315532800.0

Inherited from DateTime (private): _daylight

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

An integer value can be specified in the constructor, or as the value keyword arg.

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: object.__init__
(inherited documentation)