Mennen,

The configuration of the businessday is in a property file. jbpm.cfg.xml 
contains this line:

  |   <string name="resource.business.calendar" 
value="org/jbpm/calendar/jbpm.business.calendar.properties" />
  | 

You can configure it anyway you like it, but currently it is


  | hour.format=HH:mm
  | #weekday ::= [<daypart> [& <daypart>]*]
  | #daypart ::= <start-hour>-<to-hour>
  | #start-hour and to-hour must be in the hour.format
  | #dayparts have to be ordered
  | weekday.monday=    9:00-12:00 & 12:30-17:00
  | weekday.thuesday=  9:00-12:00 & 12:30-17:00
  | weekday.wednesday= 9:00-12:00 & 12:30-17:00
  | weekday.thursday=  9:00-12:00 & 12:30-17:00
  | weekday.friday=    9:00-12:00 & 12:30-17:00
  | weekday.saturday=
  | weekday.sunday=
  | 
  | day.format=dd/MM/yyyy
  | # holiday syntax: <holiday>
  | # holiday period syntax: <start-day>-<end-day>
  | # below are the belgian official holidays
  | holiday.1=  01/01/2005 # nieuwjaar
  | holiday.2=  27/3/2005  # pasen 
  | holiday.3=  28/3/2005  # paasmaandag 
  | holiday.4=  1/5/2005   # feest van de arbeid
  | holiday.5=  5/5/2005   # hemelvaart 
  | holiday.6=  15/5/2005  # pinksteren 
  | holiday.7=  16/5/2005  # pinkstermaandag 
  | holiday.8=  21/7/2005  # my birthday 
  | holiday.9=  15/8/2005  # moederkesdag 
  | holiday.10= 1/11/2005  # allerheiligen 
  | holiday.11= 11/11/2005 # wapenstilstand 
  | holiday.12= 25/12/2005 # kerstmis 
  | 
  | 
  | business.day.expressed.in.hours=             8
  | business.week.expressed.in.hours=           40
  | business.month.expressed.in.business.days=  21
  | business.year.expressed.in.business.days=  220
  | 

Ronald

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926289#3926289

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926289


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to