isRegistrationOpen

fun isRegistrationOpen(date: Date = Date()): Boolean

Checks if entrants can join the lottery at a specified date and time.

Return

true if registration is open, false otherwise.

Parameters

date

The specified time to check. It defaults to the current time