Classes
Methods
getAnniversary(year)
Gets the anniversary of this event on a specific year.
Parameters:
| Name | Type | Description |
|---|---|---|
year |
The year to calculate the anniversary for |
Returns:
The anniversary date
getYearsSince(date)
Gets the number of years since this event for a given date.
Parameters:
| Name | Type | Description |
|---|---|---|
date |
The date to calculate from (default: today) |
Returns:
The number of years