Click or drag to resize
DayTimeRange Constructor
Constructs a single DayTime range

Namespace: PM90SettingsAPI
Assembly: PM90SettingsAPI (in PM90SettingsAPI.dll) Version: 9.0.23.534 (9.0.23.534)
Syntax
C#
public DayTimeRange(
	bool allowed,
	Nullable<DateTime> startTime,
	Nullable<DateTime> endTime
)

Parameters

allowed
Type: SystemBoolean
True indicates time is allowed that day.
startTime
Type: SystemNullableDateTime
Start time of day, or null if Allowed is false
endTime
Type: SystemNullableDateTime
End time of day, or null if Allowed is false
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionTime range is invalid
ArgumentNullExceptionWhen allowed time is true, but start and/or end times are null
Remarks
Time is the only date part taken into consideration; the date portion is ignored.
See Also