PublicAPI.Services.ProductionCalendarServicesELMA API Documentation
Service for managing work calendar
Access path: PublicAPI.Services.ProductionCalendarServices
Methods

  NameDescription
Public methodAddDays
Add a certain number of days to the date, taking the calendar into account (regardless of working hours)
Public methodEvalTargetTime(DateTime, Double)
Evaluate target time and date according to the calendar
Public methodEvalTargetTime(DateTime, TimeSpan)
Evaluate target time and date according to the calendar
Public methodEvalWorkTimeDifference
Evaluates the work timespan of the interval between the dates (the value in hours, minutes and seconds)
Public methodEvalWorkTimeHoursDifference
Evaluates the work timespan between the dates in hours
Public methodEvalWorkTimeSpanDifference
Evaluates the work timespan between the dates (the value in days, hours, minutes and seconds)
Public methodGetWorkTimeEnd
Working time end (0, if it is a day off)
Public methodGetWorkTimeInDay 
Get business day duration
Public methodGetWorkTimeInDay(DateTime)
Get business day duration
Public methodGetWorkTimeStart
Working time start (0, if it is a day off)
Public methodIsWorkDay
Check if the date is a working day
Public methodMinutesInDay 
Minutes in a working day
Public methodMinutesInDay(DateTime)
Minutes in a working day
Public methodSetHoliday
Set a day off
Public methodSetWorkDayTime(TimeSpan)
Set working hours
Public methodSetWorkDayTime(TimeSpan, TimeSpan)
Set working hours
Public methodSetWorkDayTime(TimeSpan, TimeSpan, TimeSpan, TimeSpan)
Set working hours
Back to Top
See Also