Click or drag to resize
OSIsoft, LLC

AFTimeSpan Methods

The AFTimeSpan type exposes the following members.

Methods
  NameDescription
Public methodAdd
Add the time span to the specified time.
Public methodCompareTo(Object)
Compares this instance with a specified Object.
Public methodCompareTo(AFTimeSpan)
Compares this instance with a specified AFTimeSpan.
Public methodDuration
Returns a new AFTimeSpan object whose value is the absolute value of the current AFTimeSpan object.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(AFTimeSpan)
Indicates whether the current object is equal to another object of the same type.
Public methodGetEvenTimeIntervalDefinitions
Get the list of evenly spaced interval definitions that are within the specified AFTimeRange.
Public methodGetHashCode
Gets the hash code for this instance of the object which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)
Public methodGetIntervalTimes
Get the list of interval times for the specified AFTimeRange.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMultiply
Multiply the time span by the specified factor from the specified time.
Public methodNegate
Returns a AFTimeSpan whose value is the negated value of this instance.
Public methodStatic memberParse(String, IFormatProvider)
Converts the string representation of a time interval to its AFTimeSpan equivalent.
Public methodStatic memberParse(String, AFTimeZone, IFormatProvider)
Converts the string representation of a time interval to its AFTimeSpan equivalent with a specified AFTimeZone.
Public methodToString
Returns a String that represents the current object.
(Overrides ValueTypeToString.)
Public methodToString(IFormatProvider)
Returns a String that represents the current object.
Public methodToString(IFormatProvider, Boolean)
Returns a String that represents the current object.
Public methodToTimeSpan
Returns the time span as a standard TimeSpan object.
Public methodStatic memberTryParse(String, AFTimeSpan)
Converts the string representation of a time interval to its AFTimeSpan equivalent by using the CurrentCulture and returns a value that indicates whether the conversion succeeded.
Public methodStatic memberTryParse(String, IFormatProvider, AFTimeSpan)
Converts the string representation of a time interval to its AFTimeSpan equivalent by using the specified culture-specific formatting information and returns a value that indicates whether the conversion succeeded.
Public methodStatic memberTryParse(String, IFormatProvider, AFTimeZone, AFTimeSpan)
Converts the string representation of a time interval to its AFTimeSpan equivalent with a specified AFTimeZone by using the specified culture-specific formatting information and returns a value that indicates whether the conversion succeeded.
Top
See Also
Enabling Operational Intelligence