Returns the number of days that this Day is after the specified
comparison Day, which will be negative if this Day comes
first chronologically.
Namespace: DegreeDays.TimeAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public int DaysAfter(
Day comparisonDay
)
Public Function DaysAfter (
comparisonDay As Day
) As Integer
Parameters
- comparisonDay Day
-
Return Value
Int32Remarks
For example:
- new Day(2020, 5, 15).DaysAfter(new Day(2020, 5, 14))
will return 1.
- new Day(2020, 7, 18).DaysAfter(new Day(2020, 7, 20))
will return -2.
- new Day(1999, 12, 31).DaysAfter(new Day(1999, 12, 31))
will return 0.
See Also