#NEWLINE# def _GetTime( time_string ) : #NEWLINE# #INDENT# "Converts a string to a datetime.time object.\n\n  Arguments:\n    time_string: a string representing a time ('hours:minutes')\n\n  Returns:\n    a datetime.time object\n  " #NEWLINE# ( hourstr , minutestr ) = time_string . split ( ':' ) #NEWLINE# return datetime . time ( int ( hourstr ) , int ( minutestr ) )