Returns a
DayRange covering this
Day only.
Namespace:
DegreeDays.Time
Assembly:
DegreeDays (in DegreeDays.dll) Version: 1.3
Syntaxpublic DayRange AsRange()
Public Function AsRange As DayRange
Return Value
Type:
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