def timestampMac32(value):
 if (not isinstance(value, (float, int, long))):
  raise TypeError('an integer or float is required')
 if (not (0 <= value <= 4294967295)):
  return (_('invalid Mac timestamp (%s)') % value)
 return (MAC_TIMESTAMP_T0 + timedelta(seconds=value))

def timestampMac32 ( value ) : if ( not isinstance ( value , ( float , int , long ) ) ) : raise TypeError ( 'an integer or float is required' ) if ( not ( 0 <= value <= 4294967295 ) ) : return ( _ ( 'invalid Mac timestamp (%s)' ) % value ) return ( MAC_TIMESTAMP_T0 + timedelta ( seconds = value ) )
convert an mac timestamp to string .