Returns true if other is in the same year as this.
other
Does not account for timezones.
bool isAtSameYearAs(DateTime other) => year == other.year;