Click or drag to resize

Week Class

Represents the week unit of time.
Inheritance Hierarchy
SystemObject
  Altaxo.UnitsUnitBase
    Altaxo.Units.TimeWeek

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

The Week type exposes the following members.

Constructors
 NameDescription
Protected methodWeek Initializes a new instance of the Week class.
Top
Properties
 NameDescription
Public propertyStatic memberInstance Gets the singleton instance of the Week 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 memberOneWeekInSeconds The number of seconds in one week.
Top
See Also