Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vivekg13186/javabusinesscalendar
Business Calendar implementation in Java
https://github.com/vivekg13186/javabusinesscalendar
Last synced: 28 days ago
JSON representation
Business Calendar implementation in Java
- Host: GitHub
- URL: https://github.com/vivekg13186/javabusinesscalendar
- Owner: vivekg13186
- License: apache-2.0
- Created: 2015-04-04T23:10:03.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-04T23:27:44.000Z (almost 10 years ago)
- Last Synced: 2024-04-28T02:02:12.028Z (8 months ago)
- Language: Java
- Size: 309 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JavaBusinessCalendar
Business Calendar implementation in JavaThis api is based on JBPM Business Calendar.
Usage
###BusinessCalendar bc = BusinessCalendar(properties);
properties location to calendar property file see example property file.###bc.isHoliday(date);
Calendar date - returns if give date is holiday or not.###bc.isTodayHoliday();
returns if give today is holiday or not.###bc.isWorkingHour(date);
Calendar date - returns if give time is working hour or not.###bc.isWorkingHourNow();
returns if current time is working hour or not.###bc.today();
returns current date with busnienss calendar timezone.###bc.stringToCalendar("1/5/2005");
converts string to calendar (format as per the property file).