Does anyone knows a good business calendar library in java?
It should handle easy :) date calculations, taking holidays into account.
Ideally, besides configuring holidays and company off days, we should also be able to configure 'working hours' on a day basis so we can calculate SLA's and KPI's on working hours.
I know something like this is part of jboss jBpm, but I was wondering if their was any other project doing this.
Off course, open source is a big plus point!
Java Calendar class is an abstract class that provides methods for converting date between a specific instant in time and a set of calendar fields such as MONTH, YEAR, HOUR, etc.
The Calendar class is an abstract class that provides methods for converting between a specific instant in time and a set of calendar fields such as YEAR , MONTH , DAY_OF_MONTH , HOUR , and so on, and for manipulating the calendar fields, such as getting the date of the next week.
To get the day of the week, use Calendar. DAY_OF_WEEK.
Check out this library, it has functionality for holidays and such, it's built around joda.
http://objectlabkit.sourceforge.net/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With