Date |
The DateRange type exposes the following members.
Name | Description | |
---|---|---|
IsLowerInclusive | If true, the date range includes the Lower value. Otherwise values equal to or less than the Lower value are out of the range. | |
IsUpperInclusive | If true, the range includes the Upper value. Otherwise values equal to or greater than the Upper value are out of the range. | |
Last12Months | Gets a DateRange representing the preceding 12 months from midnight to midnight in the current Offset using the current DateTimeFormat rule | |
LastMonth | Gets a DateRange representing the preceding month from midnight to midnight in the current Offset using the current DateTimeFormat rule | |
LastWeek | Gets a DateRange representing the preceding week from midnight to midnight in the current Offset using the current DateTimeFormat rule | |
LastYear | Gets a DateRange representing the preceding year from midnight to midnight in the current Offset using the current DateTimeFormat rule | |
Lower | Gets or sets the lowest value in the range. | |
ThisMonth | Gets a DateRange representing the current month from midnight to midnight in the current Offset using the current DateTimeFormat rule | |
ThisWeek | Gets a DateRange representing the current week from midnight to midnight in the current Offset using the current DateTimeFormat rule | |
ThisYear | Gets a DateRange representing the current year from midnight to midnight in the current Offset using the current DateTimeFormat rule | |
ThisYearToDate | Gets a DateRange representing the current year through today's date from midnight to midnight in the current Offset using the current DateTimeFormat rule | |
TimeSpan | Gets the duration implied by the date range. | |
Today | Gets a DateRange representing the current date from midnight to midnight in the current Offset | |
Upper | Gets or sets the highest value in the range. | |
Yesterday | Gets a DateRange representing the date before the current date from midnight to midnight in the current Offset |