private bool IsYear(int? year) { return (null != year) && (1 <= year) && (year <= 9999); } private bool IsMonth(int? month)