I want to add event in device calendar on monthly which is working fine to me. But the problem is occurred in second condition. Suppose we add one event on 31st of each month and if 31 is not exist in that month then add on last day of that month such 30 April, 28 Feb.
Any suggestion to solve that condition???
Thanks