Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.calendar
Class DayPart

    java.lang.Object
      org.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)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD