Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Business calendar : Business calendar tags : Working time tags
 

Working time tags

The working time is defined in hours, using the 24-hour format.

Business hours

An example of the business hours definition is shown below:
<business-hours>
    <description>business hours</description>
    <business-hour start-time="0800" end-time="1700"/>
</business-hours>
The difference between the start and end time includes the lunch hour. Any task after the end time is assigned to the next business day. Similarly any task before the start time begins at the start time.
In some sectors, the working hours are different on different days. For example, in the banking sector in India the business hours are different on Saturdays compared to the other weekdays. Such non-standard business hours can be specified for a particular day in a week and/or for particular dates in a year as shown in the following example:
<!-for all Mondays -- >
    <business-hour start-time="1000" end-time="1400" dow="Mon"/>
<!-For 16th January, 2004 -- >
    <business-hour start-time="1000" end-time="1400" year="2004"
month="Jan" day="16"/>