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

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


org.jbpm.calendar
Class DayPart

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

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

is part of a day that can for example be used to represent business hours.

See Also:
Serialized Form

Constructor Summary
DayPart(java.lang.String dayPartText, java.text.DateFormat dateFormat, Day day, int index)
           
 
Method Summary
 java.util.Date add(java.util.Date date, Duration duration)
           
 java.util.Date getStartTime(java.util.Date date)
           
 boolean includes(java.util.Date date)
           
 boolean isStartAfter(java.util.Date date)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DayPart

public DayPart(java.lang.String dayPartText,
               java.text.DateFormat dateFormat,
               Day day,
               int index)
Method Detail

add

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

isStartAfter

public boolean isStartAfter(java.util.Date date)

includes

public boolean includes(java.util.Date date)

getStartTime

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


Version : jbpm-3.0.4