java.lang.Object
overit.geocallapp.wfm.core.bl.schedule.intervention.appointment.AppointmentUtil

public class AppointmentUtil extends Object
Utility class to work with the BOAppointment.
  • Method Details

    • getStartAppointment

      public static Date getStartAppointment(BOAppointment appointment)
      Returns the start date of the given appointment.
      Parameters:
      appointment - the BOAppointment to consider
      Returns:
      the start appointment date, null when the start date is null or is equal to DateUtils.DATE_MIN
    • getEndAppointment

      public static Date getEndAppointment(BOAppointment appointment)
      Returns the end date of the given appointment.
      Parameters:
      appointment - the BOAppointment to consider
      Returns:
      the end appointment date, null when the start date is null or is equal to DateUtils.DATE_MIN