Sentence 1: The judge leniently granted a sentence with no hard time.
Sentence 2: He is doing time in the county jail.
Does time mean the same thing in these two sentences?
the same meaning