I need to set events in my custom calender which will repeat according to selected period i.e, daily, weekly, monthly or yearly. I have start and end dates in milliseconds.
Question:
Is there any Calender or Date API from which we can calculate number of days, weeks, months and year between two milliseconds. I used Joda library but not getting any appropriate method for this.
Should I had to write custom code for this ? :-(
I create a custom code for this task. Here you will find future date of events which is set between any two timestamps (start timestamp should be less or equal to end timestamp). You has to fix event duration like weekly,yearly,daily or monthly .