<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def str_to_time(time_str: str) -> datetime.datetime: """ Convert human readable string to datetime.datetime. """

    pieces: Any = [int(piece) for piece in time_str.split('-')]
    return datetime.datetime(*pieces)