DateTimePeriod Methods
A date-time period that is used to select a predefined range in the Range Filter and Date Filter items.| Name | Description |
|---|---|
| Assign(DateTimePeriod) | Copies settings of the specified object to the current object. |
| BeginUpdate() | Locks the DateTimePeriod object by preventing updates until the DateTimePeriod.EndUpdate method is called. |
| CreateLastDay() static | Creates the period whose duration is one day. The period includes a day previous to the current day. |
| CreateLastDays(String, Int32) static | Creates the period whose duration is a specified number of days. The period includes days previous to the current day. |
| CreateLastHour() static | Creates the period whose duration is one hour. The period includes the hour previous to the current hour. |
| CreateLastHours(String, Int32) static | Creates the period whose duration is a specified number of hours. The period includes the hours previous to the current hour. |
| CreateLastMinute() static | Creates the period whose duration is one minute. The period includes the minute previous to the current minute. |
| CreateLastMinutes(String, Int32) static | Creates the period whose duration is a specified number of minutes. The period includes the minutes previous to the current minute. |
| CreateLastMonth() static | Creates the period whose duration is one month. The period includes the month previous to the current month. |
| CreateLastMonths(String, Int32) static | Creates the period whose duration is a specified number of months. The period includes the months previous to the current month. |
| CreateLastQuarter() static | Creates the period whose duration is one quarter. The period includes the quarter previous to the current quarter. |
| CreateLastQuarters(String, Int32) static | Creates the period whose duration is the specified number of quarters. The period includes the quarters previous to the current quarter. |
| CreateLastSecond() static | Creates the period whose duration is one second. The period includes the second previous to the current second. |
| CreateLastSeconds(String, Int32) static | Creates the period whose duration is the specified number of seconds. The period includes the seconds previous to the current second. |
| CreateLastYear() static | Creates the period whose duration is one year. The period includes the year previous to the current year. |
| CreateLastYears(String, Int32) static | Creates the period whose duration is the specified number of years. The period includes the years previous to the current year. |
| CreateNextDay() static | Creates the period whose duration is one day. The period includes the day after the current day. |
| CreateNextDays(String, Int32) static | Creates the period whose duration is the specified number of days. The period includes the days after the current day. |
| CreateNextHour() static | Creates the period whose duration is one hour. The period includes the hour after the current hour. |
| CreateNextHours(String, Int32) static | Creates the period whose duration is the specified number of hours. The period includes the hours after the current hour. |
| CreateNextMinute() static | Creates the period whose duration is one minute. The period includes the minute after the current minute. |
| CreateNextMinutes(String, Int32) static | Creates the period whose duration is the specified number of minutes. The period includes the minutes after the current minute. |
| CreateNextMonth() static | Creates the period whose duration is one month. The period includes the month after the current month. |
| CreateNextMonths(String, Int32) static | Creates the period whose duration is the specified number of months. The period includes the months after the current month. |
| CreateNextQuarter() static | Creates the period whose duration is one quarter. The period includes the quarter after the current quarter. |
| CreateNextQuarters(String, Int32) static | Creates the period whose duration is the specified number of quarters. The period includes the quarters after the current quarter. |
| CreateNextSecond() static | Creates the period whose duration is one second. The period includes the second after the current second. |
| CreateNextSeconds(String, Int32) static | Creates the period whose duration is the specified number of seconds. The period includes the seconds after the current second. |
| CreateNextYear() static | Creates the period whose duration is one year. The period includes the year after the current year. |
| CreateNextYears(String, Int32) static | Creates the period whose duration is the specified number of years. The period includes the years after the current year. |
| CreateThisDay() static | Creates the period whose duration is one day. The period includes the current day. |
| CreateThisHour() static | Creates the period whose duration is one hour. The period includes the current hour. |
| CreateThisMinute() static | Creates the period whose duration is one minute. The period includes the current minute. |
| CreateThisMonth() static | Creates the period whose duration is one month. The period includes the current month. |
| CreateThisQuarter() static | Creates the period whose duration is one quarter. The period includes the current quarter. |
| CreateThisSecond() static | Creates the period whose duration is one second. The period includes the current second. |
| CreateThisYear() static | Creates the period whose duration is one year. The period includes the current year. |
| EndUpdate() | Unlocks the DateTimePeriod object after a call to the DateTimePeriod.BeginUpdate method and causes an immediate update. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also