Method | Description | |
---|---|---|
DateSpan ( System.DateTime startDate, System.DateTime endDate ) : System | ||
ToShortString ( ) : string |
Prints portions of the DateSpan that contribute at least 25% of the total duration
|
|
ToString ( ) : string |
Prints all non-zero portions including years, months, and days
|
Method | Description | |
---|---|---|
PrintDays ( StringBuilder sb ) : void | ||
PrintMonths ( StringBuilder sb ) : void | ||
PrintYears ( StringBuilder sb ) : void |
public DateSpan ( System.DateTime startDate, System.DateTime endDate ) : System | ||
startDate | System.DateTime | |
endDate | System.DateTime | |
return | System |