Method EndAt
EndAt(DateTime)
Creates a new DateTimeRange instance using the Start value of this instance and a new value for End.
Declaration
public DateTimeRange EndAt(DateTime end)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | end | A System.DateTime to use as the End value for the new instance. |
Returns
Type | Description |
---|---|
DateTimeRange | A new DateTimeRange instance. |