Click or drag to resize

DayAsRange Method

Returns a DayRange covering this Day only.

Namespace: DegreeDays.Time
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public DayRange AsRange()

Return Value

DayRange
A DayRange covering this Day only.
Remarks

This is essentially a convenience method. Instead of typing

new Day(2011, 1, 1).To(2011, 1, 1)

you can type

new Day(2011, 1, 1).AsRange()
See Also