#NEWLINE# def parse_datetime( self , string ) : #NEWLINE# #INDENT# 'Parses a date and time from a string.\n\n        This function uses the date and time formats for the locale as a hint\n        to determine the order in which the time fields appear in the string.\n\n        :param string:\n            The string containing the date and time.\n        :returns:\n            The parsed datetime object.\n        ' #NEWLINE# return dates . parse_datetime ( self , locale = self . locale )