prim80230:Sample Java code to retrieve the valid work periods of a calendar on specific days or a range of days through the Integration API.
| Solution ID: prim80230 |
| Sample Java code to retrieve the valid work periods of a calendar on specific days or a range of days through the Integration API. |
| Status: Reviewed |
| Version(s): 6.0, 6.1, 6.2, 6.2.1 |
| Problem: | How to retrieve the valid work periods of a calendar on specific days or a range of days through the Integration API? |
| Problem: | How to report on a calendar through the API. |
| Fix: | NOTE: The following sample code will print the date and valid work periods of the calendar with the name “Standard 5 Day Workweek w/ Basic Holidays” for every day in the year 2009: java.util.Calendar mycalstart = java.util.Calendar.getInstance(); } The output of the above sample code will look something like this: Standard 5 Day Workweek w/ Basic Holidays *************************************************** Thu Jan 01 12:43:25 GMT-05:00 2009 |