#NEWLINE# def __cmp__( self , other ) : #NEWLINE# #INDENT# if ( not isinstance ( other , Duration ) ) : #NEWLINE# #INDENT# other = Timestamp . of ( other ) #NEWLINE# #UNINDENT# return cmp ( other . micros , other . micros )