TMSAppointment::adjustToDateTime Method
Calculates the appointment end time based on duration.
Syntax
client server public static TMSApptToUTCDateTime adjustToDateTime(
TMSApptFromUTCDateTime _fromDateTime,
[TMSDefaultDuration _calendarTypeDuration,
TMSDefaultDuration _equipmentDuration])
Run On
Called
Parameters
- _fromDateTime
Type: TMSApptFromUTCDateTime Extended Data Type
The appointment start time.
- _calendarTypeDuration
Type: TMSDefaultDuration Extended Data Type
The Calendar type duration.
- _equipmentDuration
Type: TMSDefaultDuration Extended Data Type
The equipment type duration.
Return Value
Type: TMSApptToUTCDateTime Extended Data Type
The appointment end time.