The term “minor” or “infant”, as used in this chapter, shall mean a person who has not attained the age of eighteen years.