My brother had done his homework . . . .
yesterday at 4 o'clock
yesterday by 4 o'clock
yesterday
yesterday for 2 hours