def durationWin64(value):
 if (not isinstance(value, (float, int, long))):
  raise TypeError('an integer or float is required')
 if (value < 0):
  raise ValueError('value have to be a positive or nul integer')
 return timedelta(microseconds=(value / 10))

def durationWin64 ( value ) : if ( not isinstance ( value , ( float , int , long ) ) ) : raise TypeError ( 'an integer or float is required' ) if ( value < 0 ) : raise ValueError ( 'value have to be a positive or nul integer' ) return timedelta ( microseconds = ( value / 10 ) )
convert windows 64-bit duration to string .