Calendar or duration rule
The next anniversary reuses the month/day in the relevant calendar year and compares it with today.
Leap-day anniversaries can require a chosen convention in non-leap years.
Worked check
An anniversary is calendar-based, so the month and day matter more than dividing elapsed days by 365. Leap-day anniversaries are a special case because February 29 does not exist every year; verify how the returned next occurrence is handled for your purpose.
Rule: The next anniversary reuses the month/day in the relevant calendar year and compares it with today. Leap-day anniversaries can require a chosen convention in non-leap years. For a final check, distinguish calendar arithmetic from elapsed duration, confirm the intended local date or time zone, and inspect month-end, leap-year or daylight-saving boundaries when they can affect the meaning.