站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.0.4 API 英文版文档

BusinessCalendar (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档


org.jbpm.calendar
Class BusinessCalendar

java.lang.Object
  extended byorg.jbpm.calendar.BusinessCalendar
All Implemented Interfaces:
java.io.Serializable

public class BusinessCalendar
extends java.lang.Object
implements java.io.Serializable

a calendar that knows about business hours.

See Also:
Serialized Form

Constructor Summary
BusinessCalendar()
           
 
Method Summary
 java.util.Date add(java.util.Date date, Duration duration)
           
 Day findDay(java.util.Date date)
           
 DayPart findNextDayPart(java.util.Date date)
           
 java.util.Date findStartOfNextDay(java.util.Date date)
           
static java.util.Properties getBusinessCalendarProperties()
           
static java.util.Calendar getCalendar()
           
 boolean isHoliday(java.util.Date date)
           
 boolean isInBusinessHours(java.util.Date date)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusinessCalendar

public BusinessCalendar()
Method Detail

getBusinessCalendarProperties

public static java.util.Properties getBusinessCalendarProperties()

add

public java.util.Date add(java.util.Date date,
                          Duration duration)

findStartOfNextDay

public java.util.Date findStartOfNextDay(java.util.Date date)

findDay

public Day findDay(java.util.Date date)

isHoliday

public boolean isHoliday(java.util.Date date)

findNextDayPart

public DayPart findNextDayPart(java.util.Date date)

isInBusinessHours

public boolean isInBusinessHours(java.util.Date date)

getCalendar

public static java.util.Calendar getCalendar()


Version : jbpm-3.0.4