|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
long calculateBusinessTimeAsDuration(String timeExpression)
timeExpression
- time expression that is supported by business calendar implementation.
Date calculateBusinessTimeAsDate(String timeExpression)
timeExpression
- time expression that is supported by business calendar implementation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |