Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.1.0.Beta4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.process.core.timer
Interface BusinessCalendar

All Known Implementing Classes:
  BusinessCalendarImpl

    public interface BusinessCalendar

BusinessCalendar allows for defining custom definitions of working days, hours and holidays to be taken under consideration when scheduling time based activities such as timers or deadlines.

Method Summary
`Date` | `calculateBusinessTimeAsDate(String timeExpression)` Calculates given time expression into target date based on calendar configuration.
`long` | `calculateBusinessTimeAsDuration(String timeExpression)` Calculates given time expression into duration in milliseconds based on calendar configuration.

Method Detail

### calculateBusinessTimeAsDuration

    long calculateBusinessTimeAsDuration(String timeExpression)

  Calculates given time expression into duration in milliseconds based on calendar configuration.

  Parameters:
    `timeExpression` - time expression that is supported by business calendar implementation.
  Returns:
    duration expressed in milliseconds

### calculateBusinessTimeAsDate

    Date calculateBusinessTimeAsDate(String timeExpression)

  Calculates given time expression into target date based on calendar configuration.

  Parameters:
    `timeExpression` - time expression that is supported by business calendar implementation.
  Returns:
    date when given time expression will match in the future

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.1.0.Beta4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.