TimeStandardConverter Class |
Namespace: AGI.Foundation.Time
The TimeStandardConverter type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Convert |
Converts the specified JulianDate to the specified
TimeStandard.
|
![]() ![]() | GetConversionDistance |
Gets the number of intermediate conversions that must be done to convert from
from to to. For example, if a conversion
function is defined to directly convert between the time standards, 1 will be returned.
If the two standards are identical, 0 will be returned. If no conversion exists
at all, MaxValue will be returned.
|
![]() ![]() | IsConversionDefined |
Determines if a conversion between two TimeStandards has been defined.
|
![]() ![]() | RegisterConversion |
Registers a new conversion between time standards.
|
![]() ![]() | TryConvert |
Tries to convert the specified JulianDate to the specified
TimeStandard, returning success or failure.
|