I tried %%(org-anniversary 2016 12 21) Test anniversary. But this seems does not work.
I tested with variable diary-file default value point to ~/.emacs.d/diary file.
and has following content:
%%(diary-anniversary 10 21 2016) my first child
<%%(diary-anniversary 10 21 2016)> my first child
%%(org-anniversary 2016 12 21) Test anniversary
Then I try to change diary file to an org-mode file.
Has following content:
** Valentine's Day
<%%(diary-anniversary 2 14 2017)>
** My Birthday
<%%(diary-anniversary 3 24 1990)> I'm %d%s years old today!!!
** my first child anniversary
<%%(diary-anniversary 10 26 2017)>
Then org-agenda shows all headlines which has anniversary entry. Like:
- Valentine's Day
- My Birthday
- my first child anniversary
Without considering whether the anniversary date is a day past one year?
(I think anniversary is by default repeat one year. Like org-mode timestamp repeat. <2017-12-21 Thu +1y>)
I know there are other diary anniversary syntax like:
- ~%%(diary-anniversary 3 24 2014)~ diary anniversary
- ~%%(diary-cyclic 2 7 26 2014)~ repeated diary.
- ~%%(diary-block 7 26 2014 8 26 2020)~ diary block
- ~%%(diary-float t 5 1)~ happens every 1st Friday of the month.
I checked out them in Org-mode Info diary node.