Plumtree EDK (Enterprise Web Development Kit) 5.4.0

TimeInterval Members

TimeInterval overview

Public Static Fields

INFINITE A static field to represent an infinite time interval. Default value is zero and default unit is
TimeIntervalInterval.Unset
. Neither the value nor the unit component of this field cannot be modified, otherwise an InvalidOperationException will be thrown.

Public Instance Constructors

TimeInterval Constructor Creates a TimeInterval with the specified value and unit.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
GetUnit Returns the unit of the interval. For TimeInterval.INFINITE, TimeIntervalUnit.Unset will be returned.
GetValue Returns the value of the interval. For TimeInterval.INFINITE, int.MaxValue will be returned.
SetUnit Sets the unit of the interval.
SetValue Sets the value of the interval.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

TimeInterval Class | Plumtree.Remote.PRC Namespace