Click or drag to resize

TimeStandard Class

Provides a means for measuring time by specifying the rate at which time passes and/or points in time. Note that for many operations, the system will need to convert times to an arithmetically safe standard in order to correctly compare times. In many cases, it may be more efficient to work directly in the corresponding ArithmeticSafeStandard.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.TimeTimeStandard

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.2.399.0 (19.2.399.0)
Syntax
public class TimeStandard : IIndexedFormat

The TimeStandard type exposes the following members.

Constructors
  NameDescription
Public methodTimeStandard
Initializes a new time standard instance.
Top
Properties
  NameDescription
Public propertyAbbreviation
Gets an abbreviation for this time standard.
Public propertyArithmeticSafeStandard
Gets a time standard that is equivalent to this time standard but is safe for arithmetic. In order to be safe for arithmetic, a time standard must not have any discontinuities and it must have exactly 86400 seconds in every day. How the seconds are measured does not matter, but the standard returned by this method must measure seconds in the same way as the standard implementing this method. For example, UTC is not safe for arithmetic (and thus returns TAI) but UT1 is safe for arithmetic. If a time standard is safe for arithmetic, returns .
Public propertyStatic memberBarycentricDynamicalTime
Gets the Barycentric Dynamical Time (TDB) time standard.
Public propertyStatic memberCoordinatedUniversalTime
Gets the Coordinated Universal Time (UTC) time standard.
Public propertyStatic memberGlobalPositioningSystemTime
Gets the Global Positioning System (GPS) time standard.
Public propertyIndex
Gets the index corresponding to this time standard.
Public propertyStatic memberInternationalAtomicTime
Gets the International Atomic Time (TAI) time standard.
Public propertyName
Gets the name of this time standard.
Public propertyStatic memberTerrestrialTime
Gets the Terrestrial Time (TT) time standard.
Public propertyStatic memberUniversalTime1
Gets the Universal Time 1 (UT1) time standard.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Converts this time standard to a string representation.
(Overrides ObjectToString.)
Top
See Also