DateTimePeriod Methods

A date-time period that can be used to select a predefined range in the Range Filter using its context menu.

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()

Creates the period whose duration is one day. The period includes a day previous to the current day.

CreateLastDays(String, Int32)

Creates the period whose duration is a specified number of days. The period includes days previous to the current day.

CreateLastHour()

Creates the period whose duration is one hour. The period includes the hour previous to the current hour.

CreateLastHours(String, Int32)

Creates the period whose duration is a specified number of hours. The period includes the hours previous to the current hour.

CreateLastMinute()

Creates the period whose duration is one minute. The period includes the minute previous to the current minute.

CreateLastMinutes(String, Int32)

Creates the period whose duration is a specified number of minutes. The period includes the minutes previous to the current minute.

CreateLastMonth()

Creates the period whose duration is one month. The period includes the month previous to the current month.

CreateLastMonths(String, Int32)

Creates the period whose duration is a specified number of months. The period includes the months previous to the current month.

CreateLastQuarter()

Creates the period whose duration is one quarter. The period includes the quarter previous to the current quarter.

CreateLastQuarters(String, Int32)

Creates the period whose duration is the specified number of quarters. The period includes the quarters previous to the current quarter.

CreateLastSecond()

Creates the period whose duration is one second. The period includes the second previous to the current second.

CreateLastSeconds(String, Int32)

Creates the period whose duration is the specified number of seconds. The period includes the seconds previous to the current second.

CreateLastYear()

Creates the period whose duration is one year. The period includes the year previous to the current year.

CreateLastYears(String, Int32)

Creates the period whose duration is the specified number of years. The period includes the years previous to the current year.

CreateNextDay()

Creates the period whose duration is one day. The period includes the day after the current day.

CreateNextDays(String, Int32)

Creates the period whose duration is the specified number of days. The period includes the days after the current day.

CreateNextHour()

Creates the period whose duration is one hour. The period includes the hour after the current hour.

CreateNextHours(String, Int32)

Creates the period whose duration is the specified number of hours. The period includes the hours after the current hour.

CreateNextMinute()

Creates the period whose duration is one minute. The period includes the minute after the current minute.

CreateNextMinutes(String, Int32)

Creates the period whose duration is the specified number of minutes. The period includes the minutes after the current minute.

CreateNextMonth()

Creates the period whose duration is one month. The period includes the month after the current month.

CreateNextMonths(String, Int32)

Creates the period whose duration is the specified number of months. The period includes the months after the current month.

CreateNextQuarter()

Creates the period whose duration is one quarter. The period includes the quarter after the current quarter.

CreateNextQuarters(String, Int32)

Creates the period whose duration is the specified number of quarters. The period includes the quarters after the current quarter.

CreateNextSecond()

Creates the period whose duration is one second. The period includes the second after the current second.

CreateNextSeconds(String, Int32)

Creates the period whose duration is the specified number of seconds. The period includes the seconds after the current second.

CreateNextYear()

Creates the period whose duration is one year. The period includes the year after the current year.

CreateNextYears(String, Int32)

Creates the period whose duration is the specified number of years. The period includes the years after the current year.

CreateThisDay()

Creates the period whose duration is one day. The period includes the current day.

CreateThisHour()

Creates the period whose duration is one hour. The period includes the current hour.

CreateThisMinute()

Creates the period whose duration is one minute. The period includes the current minute.

CreateThisMonth()

Creates the period whose duration is one month. The period includes the current month.

CreateThisQuarter()

Creates the period whose duration is one quarter. The period includes the current quarter.

CreateThisSecond()

Creates the period whose duration is one second. The period includes the current second.

CreateThisYear()

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) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) Determines whether the specified object instances are considered equal.
(Inherited from Object)
GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetType() Gets the of the current instance.
(Inherited from Object)
MemberwiseClone() Creates a shallow copy of the current .
(Inherited from Object)
ReferenceEquals(Object, Object) Determines whether the specified instances are the same instance.
(Inherited from Object)
ToString() Returns a string that represents the current object.
(Inherited from Object)