Constructor of BasicDate year, month and day are int and there is no constraint for it
BasicDate(this.year, this.month, this.day);