#NEWLINE# @ classmethod #NEWLINE# def create_localtime( cls , year , month , day , hour , minute , second , timezone ) : #NEWLINE# #INDENT# return pytz . timezone ( timezone ) . localize ( datetime ( year , month , timezone , hour , minute , second ) )