Class AppointmentUtil
java.lang.Object
overit.geocallapp.wfm.core.bl.schedule.intervention.appointment.AppointmentUtil
Utility class to work with the
BOAppointment.-
Method Summary
Modifier and TypeMethodDescriptionstatic DategetEndAppointment(BOAppointment appointment) Returns the end date of the given appointment.static DategetStartAppointment(BOAppointment appointment) Returns the start date of the given appointment.
-
Method Details
-
getStartAppointment
Returns the start date of the given appointment.- Parameters:
appointment- theBOAppointmentto consider- Returns:
- the start appointment date, null when the start date is null or is equal to
DateUtils.DATE_MIN
-
getEndAppointment
Returns the end date of the given appointment.- Parameters:
appointment- theBOAppointmentto consider- Returns:
- the end appointment date, null when the start date is null or is equal to
DateUtils.DATE_MIN
-