Every female dog or cat in heat shall be confined for a period of 24 days in such a manner that such dog or cat cannot come into contact with another dog or cat except for planned breeding. When exercised, the dog or cat shall be securely leashed.