Does anybody know any engines for calendar implementation?
For example, which accepts event definition object (it can be iCalendar-style) and current date as input and outputs whether this date matches event definition?
Does anybody know any engines for calendar implementation?
For example, which accepts event definition object (it can be iCalendar-style) and current date as input and outputs whether this date matches event definition?
Hmm. Calendaring is hard.
I've had very mixed experiences with iCal4j - it's not too smart about time zones in some places, but after a bit of work it can be just about okay. That will allow you to parse iCal entries.
Beyond that, I'd based everything you possibly can on Joda Time. Definitely avoid the built-in java.util.Date
/Calendar
classes as far as possible.