com.webmethods.caf.faces.data.task
Class TaskBusinessCalendarModel
java.lang.Object
com.webmethods.caf.faces.data.calendar.BusinessCalendarModel
com.webmethods.caf.faces.data.task.TaskBusinessCalendarModel
- All Implemented Interfaces:
- IContentProvider
public class TaskBusinessCalendarModel
- extends BusinessCalendarModel
Business calendar provider specific for calculations from task rules. It needs a taskID
to correctly specify baseDate for calendar evaluator, doing so will allow negative hours/minutes
calculations done off the main base date
Methods inherited from class com.webmethods.caf.faces.data.calendar.BusinessCalendarModel |
getBaseAdjustment, getBaseDateTime, getCorporateCalendar, getDateTimeFormat, getPropertyKeys, getResultDateTime, getType, getUserCalendar, getValue, getWorkdays, getWorkhours, getWorkminutes, hasProperty, isUseUserPersonalCalendar, setBaseAdjustment, setBaseDateTime, setCorporateCalendar, setDateTimeFormat, setUserCalendar, setUseUserPersonalCalendar, setWorkdays, setWorkhours, setWorkminutes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskBusinessCalendarModel
public TaskBusinessCalendarModel()
getCalendarEvaluatorBaseDate
protected Date getCalendarEvaluatorBaseDate()
throws Exception
- Description copied from class:
BusinessCalendarModel
- Get the base date time as a date.
If the base date is not set by a Date object or
getResultDateTime method has not been called
this method will throw an exception.
- Overrides:
getCalendarEvaluatorBaseDate
in class BusinessCalendarModel
- Returns:
- A Date object for base date time.
- Throws:
Exception