TimeCalculateTimeSchedule(DateTime, NullableDateTime, DateTime, NullableDateTime) Method
Converts a schedule time interval between a start date and an end date,
if there are intervals greater than 24 hours, they are considered as times of a schedule that repeats for several days
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static TimeSpan CalculateTimeSchedule(
DateTime dateStart,
DateTime? timeStart,
DateTime dateEnd,
DateTime? timeEnd
)
Public Shared Function CalculateTimeSchedule (
dateStart As DateTime,
timeStart As DateTime?,
dateEnd As DateTime,
timeEnd As DateTime?
) As TimeSpan
- dateStart DateTime
- Start date.
- timeStart NullableDateTime
- Start time.
- dateEnd DateTime
- End date.
- timeEnd NullableDateTime
- End time.
TimeSpanTimeSpan with the schedule time interval between a start date and an end date.