Returns a
DayRange covering this
Day only.
Namespace: DegreeDays.TimeAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public DayRange AsRange()
Public Function AsRange As DayRange
Return Value
DayRangeA
DayRange covering this
Day only.
Remarks
This is essentially a convenience method. Instead of typing
new Day(2011, 1, 1).To(2011, 1, 1)
New Day(2011, 1, 1).To(2011, 1, 1)
you can type
new Day(2011, 1, 1).AsRange()
New Day(2011, 1, 1).AsRange()
See Also