UnitsTime Class

Provides units of Time.

Definition

Namespace: DevCase.Core.Math.Science
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class Time
Inheritance
Object    UnitsTime

Remarks

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)

Fields

Century A century (symbol: C) is a time period equal to 100 years or 10 decades.
Day A day (symbol: d) is a unit of time equal to 24 hours or 1440 minutes.
Decade A decade (symbol: DC) is a time period equal to 10 years or 120 months.
Hour An hour (symbol: h; also abbreviated as hr.) is a unit of time equal to 60 minutes or 3600 seconds.
MicroSecond A microsecond (symbol: μs) is a unit of time equal to one millionth (1/10^6) of a second.
Millennium A millennium (symbol: ML) is a time period equal to 1000 years or 10 centurys.
MilliSecond A millisecond (symbol: ms) is a unit of time equal to one thousandth (1/10^3) of a second.
Minute A minute (symbol: m; abbreviated as min) is a unit of time equal to 60 seconds.
Month A month (symbol: M) is a unit of time equal to 30.436875 days or 4.34524 weeks.
NanoSecond A nanosecond (symbol: ns) is a unit of time equal to one billionth (1/10^9) of a second.
Second A second (symbol: s; abbreviated as sec) is the base metric system unit of Time.
Week A week (symbol: w) is a unit of time equal to 7 days or 168 hours.
Year A natural year (symbol: Y; also abbreviated as yr.) is a time period equal to 365 days or 12 months.

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also