<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def time_context_from_dct(dct):
 """Return a time context object given a DCT entry."""

        time_text = dct.get('text')
        start = _get_time_stamp(dct.get('start'))
        end = _get_time_stamp(dct.get('end'))
        duration = dct.get('duration')
        tc = TimeContext(text=time_text, start=start, end=end,
                         duration=duration)
        return tc