Is spotting brown a few days before your period date considered part of your period?

Even if it's a few days before?