DateTimeInterval Constructor (DateTime, DateTime) |
Instantiates a new DateInterval with both bounds specified.
Namespace:
Jam.Shell
Assembly:
ShellBrowser (in ShellBrowser.dll) Version: 7.1
Syntax public DateTimeInterval(
DateTime p_MinTime,
DateTime p_MaxTime
)
Public Sub New (
p_MinTime As DateTime,
p_MaxTime As DateTime
)
public:
DateTimeInterval(
DateTime p_MinTime,
DateTime p_MaxTime
)
new :
p_MinTime : DateTime *
p_MaxTime : DateTime -> DateTimeInterval
Parameters
- p_MinTime
- Type: SystemDateTime
Left bound of the interval. - p_MaxTime
- Type: SystemDateTime
Right bound of the interval.
Exceptions Exception | Condition |
---|
ArgumentException | Throws ArgumentException if p_MinTime is after p_MaxTime |
See Also