#NEWLINE# def _isdst( self , dt ) : #NEWLINE# #INDENT# timestamp = ( ( ( ( ( dt . toordinal ( ) - EPOCHORDINAL ) * 86400 ) + ( dt . hour * 3600 ) ) + ( dt . minute * 60 ) ) + dt . second ) #NEWLINE# return time . localtime ( ( timestamp + time . timezone ) ) . tm_isdst