Jomy
Jomy

Reputation: 33

Recurring periods in java

In java application i have to specify recurring periods just like we schedule recurring meetings in outlook.

Some examples are

Recurring every Monday from 10:30 to 12:00

Recurring every Sunday from 23:00 to 05:00.

Is there any library to specify such recurring periods in java, and get all possible periods(start date,end date). My intend is to check one Date and see whether it inside any of the recurring periods.

I tried this with cron expression, but there we can't specify the hour and minutes together. Also I think it's primary intend is to define the execution start time, and concept of period is missing there.

Upvotes: 0

Views: 62

Answers (0)

Related Questions