If statement for Date

All,

I have a rule that I never want to process on a certain day of the year every year.

Basically:

rule "Evening start"
	when
		Item Sunset_Event received update ON
	then
		Daylight.postUpdate(OFF)
		if (date != October 31) {
			sendCommand(outsideFront, ON)
		}
	end

I’m not sure how to write that “date != October 31” part.

Sorry for such a simple question, maybe I can’t pick good search terms, but google isn’t turning up any help on this.

It will be something like this. I can’t easily find the exact method calls right now.

if(now.dayOfMonth == 31 && now.mothOfYear == 10)