#NEWLINE# @ classmethod #NEWLINE# def get_cell_value( cls , workbook , tz , cell ) : #NEWLINE# #INDENT# if ( cell . ctype == XL_CELL_DATE ) : #NEWLINE# #INDENT# date = xldate_as_tuple ( cell . value , workbook . datemode ) #NEWLINE# return datetime . datetime ( * date , tzinfo = tz ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return cls . normalize_value ( six . text_type ( cell . value ) )