Validates if a year is valid (typically 1-9999)
Returns true if the year is valid, false otherwise
static bool isValidYear(int year) { return year >= 1 && year <= 9999; }