A newer version of this page is available. Switch to the current version.

TimeScaleHour Methods

Represents a time scale whose time cell value is equal to a single hour.
Name Description
Ceil(DateTime) Calculates the smallest datetime value that is greater or equal to the argument and contains an integer number of specified time units. Inherited from TimeScale.
Equals(Object) Determines whether the specified object is equal to the current TimeScaleFixedInterval instance. Inherited from TimeScaleFixedInterval.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Floor(DateTime) Calculates the largest datetime value that is less or equal to the argument and represents an integer number of hours.
FormatCaption(DateTime, DateTime) Returns a string formatted according to display format for this scale type. Inherited from TimeScale.
GetHashCode() Calculates the hash code for the TimeScaleFixedInterval instance. Inherited from TimeScaleFixedInterval.
GetNextDate(DateTime) Adds a time interval, equivalent to one hour, to the argument value.
GetPrevDate(DateTime) Subtracts a time interval equivalent to a scale unit to the argument value. Inherited from TimeScale.
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.
Round(DateTime) Calculates the datetime value that is the nearest to the argument value and contains an integer number of specified time units. Inherited from TimeScale.
ToString() Returns the element's textual representation. Inherited from UserInterfaceObject.
See Also