private void valid(int year, int month, int day)
            throws AxisWithoutMeaningErrorException {
        if (year < minYear || year > maxYear) {
            throw new AxisWithoutMeaningErrorException();
        }
        if (month < minMonth || month > maxMonth) {
            throw new AxisWithoutMeaningErrorException();
        }
        if (day < minDay || day > maxDay) {
            throw new AxisWithoutMeaningErrorException();
        }
    }