docs: def encode(self, value):
          """encode(value) -> bytearray
  
          Encodes the given value to a bytearray according to this
          ComplexType definition.
          """
          if type(value) is not datetime.datetime:
              raise TypeError('encode() argument must be a Python datetime')
  
          coarse = Time32Type().encode(value)
          fine   = Time8Type() .encode(value.microsecond / 1e6)
  
          return coarse + fine