How to get the calendar of a specified date in Android

= UPDATE=
I am silly. The government has provided the corresponding API, in CalendarContract.Instances.

problem description

in Android, the schedule that is inserted repeatedly is
inserted using recursive rules. The corresponding rule field in the database is "CalendarContract.Events.RRULE"

.

for example, the rule I set up is "remind me every day from today, for the next five days," and the time of insertion is

.
values.put(CalendarContract.Events.RRULE, "FREQ=DAILY;COUNT=5");

only one piece of data will be created and saved in the database

Let"s say I create a lot of schedule rules, and I want to see what schedules there are for a particular date, can I only match a specific date with each recursive rule?

because it is relatively complicated to use Rfc5545, for recursive rules, do you have a relatively simple query method?

after reading the official introduction, I couldn"t find it. Have you ever encountered this kind of problem?

Sep.16,2021
Menu