A personal example follows, but I understand this is a very common occurrence: On a Monday night I dutifully moved my car into my driveway to clear the pavement for street sweeping that was due the next morning (9am –10am). On the Tuesday morning, some time after the cleaning truck had gone by and the street had been swept, I moved my car from the driveway to let out another vehicle. However, because the street had been cleaned I did not move the car back into my driveway. My car was subsequently cited at 9.45am, some half-an-hour after the cleaning had very obviously taken place.
Now the purpose, and the only purpose, of the subject "No Parking for Street Sweeping" regulation is to enable effective sweeping of my neighborhood street. Hence, there was no practical reason for issuing the citation, except either to hassle me, or perhaps as an underhand and cowardly underhand means for the City to raise revenue.
Either way it again reflects very poorly on the city and its police force.