Click or drag to resize
OSIsoft, LLC

AFTimeRange Methods

The AFTimeRange type exposes the following members.

Methods
  NameDescription
Public methodAdjustForSyncTime
Adjust the time range so that the start time and end time are in sync with the syncTime.
Public methodCompareTo(Object)
Compares this instance with a specified Object.
Public methodCompareTo(AFTimeRange)
Compares this instance with a specified AFTimeRange.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(AFTimeRange)
Indicates whether the current object is equal to another object of the same type.
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntersect
Computes the intersection between this AFTimeRange and another AFTimeRange.
Public methodStatic memberParse(String, String, IFormatProvider)
Converts the specified local date and time string representations of the start and end times to its AFTimeRange equivalent by using the specified culture-specific formatting information.
Public methodStatic memberParse(String, String, AFTime, IFormatProvider)
Converts the specified local date and time string representations of the start and end times to its AFTimeRange equivalent by using the specified reference time and culture-specific formatting information.
Public methodToString
Returns a String that represents the time range in a format that can be presented to the user.
(Overrides ValueTypeToString.)
Public methodToString(IFormatProvider)
Returns a String that represents the time range using the specified culture-specific information that can be presented to the user.
Public methodToString(String)
Returns a String that represents the time range using the specified format that can be presented to the user.
Public methodToString(String, IFormatProvider)
Returns a String that represents the time range using the specified format and culture-specific information that can be presented to the user.
Public methodStatic memberTryParse(String, String, AFTimeRange)
Converts the specified local date and time string representations of the start and end times to its AFTimeRange equivalent by using the CurrentCulture and returns a value that indicates whether the conversion succeeded.
Public methodStatic memberTryParse(String, String, AFTime, AFTimeRange)
Converts the specified local date and time string representations of the start and end times to its AFTimeRange equivalent by using the specified reference time and returns a value that indicates whether the conversion succeeded.
Public methodStatic memberTryParse(String, String, IFormatProvider, AFTimeRange)
Converts the specified local date and time string representations of the start and end times to its AFTimeRange equivalent by using the specified culture-specific formatting information and returns a value that indicates whether the conversion succeeded.
Public methodStatic memberTryParse(String, String, AFTime, IFormatProvider, AFTimeRange)
Converts the specified local date and time string representations of the start and end times to its AFTimeRange equivalent by using the specified reference time and culture-specific formatting information, and returns a value that indicates whether the conversion succeeded.
Top
See Also
Enabling Operational Intelligence