Period Methods

Methods

Compare Compares two Period values and returns an integer that indicates their relationship
CompareTo Compares this instance to a specified object and returns an indication of their relative values
Equals(Object) This is overridden to allow proper comparison of Period objects
(Overrides Object.Equals(Object))
Equals(Period, Period) Returns a value indicating whether two specified instances of Period are equal
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Get a hash code for the period object
(Overrides Object.GetHashCode())
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString Convert the period instance to its ISO 8601 string form
(Overrides Object.ToString())
TryParse Construct a new Period object from a period specified in a string. Parameters specify the period and the variable where the new Period object is returned.

See Also