BCGSuite for MFC
void CBCGPAppointment::SetInterval ( const COleDateTime &  dtStart,
const COleDateTime &  dtFinish 
)

Sets start and end time of the appointment.

dtStart and dtFinish must be valid COleDateTime objects. dtStart must be not greater than dtFinish.

Parameters
dtStartA reference to a COleDateTime object that specifies the new start time.
dtFinishA reference to a COleDateTime object that specifies the new end time