text: module.exports = function getSeason(date) {
  	if (date == null) {
  		return 'Unable to determine the time of year!';
  	} else if (Object.prototype.toString.call(date) !== "[object Date]") {
  		throw new Error();
  	} else {
  		let month = date.getMonth();
  		if (month <= 1 || month == 11) {
  			return 'winter';
  		} else if (month >= 2 && month <= 4 ) {
  			return 'spring';
  		} else if (month >= 5 && month <= 7 ) {
  			return 'summer';
  		} else if (month >= 8 && month <= 10 ) {
  			return 'autumn';
  		}
  	}
  };
  