- a 12 hour time
tin hours and minutes,
- a rotation
return the time shown when an analog clock that is displaying the time
t is rotated
r degrees clockwise.
After rotation, the hour hand will not line up with the new position of the minute hand. To correct for this, the new hour can be derived from the new position of the hour hand.
This is code-golf. The shortest solution wins. Standard loopholes apply.
Inspired by unmarked analog clocks like this one: