Skip to content

4a8debe8 6f4b d599 a3ea 904825850cb0

Kim Hugener-Ohlsen edited this page May 28, 2016 · 2 revisions

Time Methods

The Time type exposes the following members.

Methods

 

Name Description
Public method CompareTo(Object) Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. (Inherited from Quantity(TQuantity).)
Public method CompareTo(TQuantity) Compares this instance the specified quantity. (Inherited from Quantity(TQuantity).)
Public method CompareTo(IQuantity) Compares the quantity to this instance. (Inherited from Quantity(TQuantity).)
Public method CreateQuantity Creates a time quantity. (Overrides Quantity(TQuantity).CreateQuantity(Double, IUnit).)
Public method CreateUnitSelector Creates the time unit selector. (Overrides Quantity(TQuantity, TUnitSelector).CreateUnitSelector().)
Public method Cubed Cubes this instance. (Inherited from Quantity(TQuantity).)
Public method Equals(Object) Determines whether the specified Object is equal to this instance. (Inherited from Quantity(TQuantity).)
Public method Equals(TQuantity) Checks if this instance is equal to the specified quantity. (Inherited from Quantity(TQuantity).)
Public method Equals(IQuantity) Determines whether the specified quantity is equal to this instance. (Inherited from Quantity(TQuantity).)
Public method GetHashCode Returns a hash code for this instance. (Inherited from Quantity(TQuantity).)
Public method GetResult Gets the result. (Inherited from Quantity(TQuantity).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member Interval Creates a interval based on the specified min, max and unit.
Public method Squared Squares this instance. (Inherited from Quantity(TQuantity).)
Public method ToDouble(IUnit) Converts this object to a Double using the specified unit. (Inherited from Quantity(TQuantity).)
Public method ToDouble(SelectUnit(TUnitSelector)) Converts this object to a Double using the unit specified by the [!:TUnitSelector]. (Inherited from Quantity(TQuantity, TUnitSelector).)
Public method ToQuantity Converts this object to a IQuantity using the unit specified by the IUnit. (Inherited from Quantity(TQuantity).)
Public method ToString() Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToString(IFormatProvider) Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToString(String) Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToString(UnitFormat) Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToString(String, IFormatProvider) Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToString(UnitFormat, IFormatProvider) Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToString(UnitFormat, String) Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToString(UnitFormat, String, IFormatProvider) Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToUnit(IUnit) Converts this object to a [!:TQuantity] using the specified unit. (Inherited from Quantity(TQuantity).)
Public method ToUnit(SelectUnit(TUnitSelector)) Converts this object to a [!:TQuantity] using the unit specified by the [!:TUnitSelector]. (Inherited from Quantity(TQuantity, TUnitSelector).)
  Back to Top

See Also

Reference

Time Class
Sundew.Quantities.Periodics Namespace

Clone this wiki locally