Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFTimeSpan Methods

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFTimeSpan Methods

The AFTimeSpan type exposes the following members.

Methods

  NameDescription
Public method
Add
Add the time span to the specified time.
Public method
CompareTo(Object)
Compares this instance with a specified Object.
Public method
CompareTo(AFTimeSpan)
Compares this instance with a specified AFTimeSpan.
Public method
Duration
Returns a new AFTimeSpan object whose value is the absolute value of the current AFTimeSpan object.
Public method
Equals(Object)
Determines whether the specified Object is equal to the current object.
(Overrides ValueTypeEquals(Object).)
Public method
Equals(AFTimeSpan)
Indicates whether the current object is equal to another object of the same type.
Public method
GetEvenTimeIntervalDefinitions
Get the list of evenly spaced interval definitions that are within the specified AFTimeRange.
Public method
GetHashCode
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 method
GetIntervalTimes
Get the list of interval times for the specified AFTimeRange.
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method
Multiply
Multiply the time span by the specified factor from the specified time.
Public method
Negate
Returns a AFTimeSpan whose value is the negated value of this instance.
Public methodStatic member
Parse(String, IFormatProvider)
Converts the string representation of a time interval to its AFTimeSpan equivalent.
Public methodStatic member
Parse(String, AFTimeZone, IFormatProvider)
Converts the string representation of a time interval to its AFTimeSpan equivalent with a specified AFTimeZone.
Public method
ToString
Returns a String that represents the current object.
(Overrides ValueTypeToString.)
Public method
ToString(IFormatProvider)
Returns a String that represents the current object.
Public method
ToString(IFormatProvider, Boolean)
Returns a String that represents the current object.
Public method
ToTimeSpan
Returns the time span as a standard TimeSpan object.
Public methodStatic member
TryParse(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 member
TryParse(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 member
TryParse(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.

See Also

TitleResults for “How to create a CRG?”Also Available in