Quarters are named by the hour they are in, neither the one previous or after. The hour number four of the day starts at 3:01 (or 3:00:01 with precision in seconds) and is complete by 4:00, it's the same mistake that people make with centuries.
'dreiviertel Vier' is short for 'dreiviertel der vierten Stunde des Tages'.