Classes
Members
date
The event's calendar day, at local midnight.
Methods
getNextOccurrence(_fromDate)
Returns the event date. A one-time event has no future occurrence once it
has passed, so the returned date may be in the past; callers filtering on
`date >= fromDate` (as the query helpers do) drop it naturally.
Parameters:
| Name | Type | Description |
|---|---|---|
_fromDate |
Unused; present to satisfy the Entry contract |
Returns:
The event date
hasOccurred(fromDate)
Whether this event is already in the past.
Parameters:
| Name | Type | Description |
|---|---|---|
fromDate |
The date to compare against (default: today) |
Returns:
true if the event day is before `fromDate`