Click or drag to resize

Hour Class

Represents the hour unit of time.
Inheritance Hierarchy
SystemObject
  Altaxo.UnitsUnitBase
    Altaxo.Units.TimeHour

Namespace: Altaxo.Units.Time
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class Hour : UnitBase, IUnit

The Hour type exposes the following members.

Constructors
 NameDescription
Protected methodHour Initializes a new instance of the Hour class.
Top
Properties
 NameDescription
Public propertyStatic memberInstance Gets the singleton instance of the Hour unit.
Public propertyNameFull name of the unit.
Public propertyPrefixes Returns a list of possible prefixes for this unit (like µ, m, k, M, G..).
Public propertyShortCutUsual shortcut of the unit.
Public propertySIUnit Returns the corresponding SI unit.
Top
Methods
 NameDescription
Public methodEquals(IUnit) Determines whether the specified IUnit is equal to this unit by comparing their runtime types.
(Inherited from UnitBase)
Public methodEquals(Object)Determines whether the specified object is equal to the current object.
(Inherited from UnitBase)
Public methodEquals(SIUnit) Determines whether the specified SIUnit is equal to this unit.
(Inherited from UnitBase)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFromSIUnit Converts x (in SI units) to the corresponding value in this unit.
Public methodGetHashCodeServes as the default hash function.
(Inherited from UnitBase)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToSIUnit Converts x to the corresponding SI unit.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberOneHourInSeconds The number of seconds in one hour.
Top
See Also