CalendarsToString(DateTime, DateTime, NullableDateTime, NullableDateTime, NullableDateTime, NullableDateTime, NullableDecimal) Method

Composes the details of the date information (example: "(01/01/2015 - 01/02/2015 10:00 - 12:00) (4 hours)").

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static string ToString(
	DateTime dateStart,
	DateTime dateEnd,
	DateTime? timeStart1 = null,
	DateTime? timeEnd1 = null,
	DateTime? timeStart2 = null,
	DateTime? timeEnd2 = null,
	[OptionalAttribute] decimal? hours
)

Parameters

dateStart  DateTime
Start date.
dateEnd  DateTime
End date.
timeStart1  NullableDateTime  (Optional)
Start time 1.
timeEnd1  NullableDateTime  (Optional)
End time 1.
timeStart2  NullableDateTime  (Optional)
Start time 2.
timeEnd2  NullableDateTime  (Optional)
End time 2.
hours  NullableDecimal  (Optional)
Time in hours.

Return Value

String
String with the detail of the schedule information.

See Also