Currently, what the act says is that it's within polling day for a candidate. It's within the selection date for a nomination contest unless it occurred within three months—or during an election period, in which case it's four months—after polling day. It's 18 months from the end of a leadership contest. For registered parties or registered associations, it's within the negotiated terms of the loan.
On June 18th, 2007. See this statement in context.