Name

Description

Abs

Returns the absolute value of the TimeSpan.

ConvertToCalendarDate

Returns a formatted string representing an epoch in time. The calling TimeSpan is assumed to be in TAI referenced to the MJD GSFC reference epoch and the returned String is in UTC.

GetFractionalSeconds

Returns the fractional seconds represented by the TimeSpan.

GetSecondsOfDay

Returns the fractional days represented by the TimeSpan in units of seconds.

GetWholeDays

Returns the number of whole days represented by the TimeSpan.

GetWholeSeconds

Returns the number of whole seconds represented by the TimeSpan.

RoundedToDays

Returns the TimeSpan rounded to the nearest day.

RoundedToHours

Returns the TimeSpan rounded to the nearest hour.

RoundedToMicroseconds

Returns the TimeSpan rounded to the nearest microsecond.

RoundedToMilliseconds

Returns the TimeSpan rounded to the nearest millisecond.

RoundedToMinutes

Returns the TimeSpan rounded to the nearest minute.

RoundedToSeconds

Returns the TimeSpan rounded to the nearest second.

RoundedToUnits

Returns the TimeSpan rounded to the specified units.

Scaled

Multiplies the TimeSpan by a floatingpoint value and then quantizes it to a nanosecond grid.

ToDays

Returns the value of the TimeSpan in days. Because FreeFlyer Variables are internally stored as 64Bit floatingpoint, precision may be lost in the conversion.

ToHours

Returns the value of the TimeSpan in hours. Because FreeFlyer Variables are internally stored as 64Bit floatingpoint, precision may be lost in the conversion.

ToMicroseconds

Returns the value of the TimeSpan in microseconds. Because FreeFlyer Variables are internally stored as 64Bit floatingpoint, precision may be lost in the conversion.

ToMilliseconds

Returns the value of the TimeSpan in milliseconds. Because FreeFlyer Variables are internally stored as 64Bit floatingpoint, precision may be lost in the conversion.

ToMinutes

Returns the value of the TimeSpan in minutes. Because FreeFlyer Variables are internally stored as 64Bit floatingpoint, precision may be lost in the conversion.

ToNanoseconds

Returns the value of the TimeSpan in nanoseconds. Because FreeFlyer Variables are internally stored as 64Bit floatingpoint, precision may be lost in the conversion.

ToSeconds

Returns the value of the TimeSpan in seconds. Because FreeFlyer Variables are internally stored as 64Bit floatingpoint, precision may be lost in the conversion.

ToString

Converts a TimeSpan to a string containing a decimal number representation in units specified by the input argument. If no units are specified the value is returned in units of seconds.

TruncatedToDays

Returns the TimeSpan truncated to days.

TruncatedToHours

Returns the TimeSpan truncated to hours.

TruncatedToMilliseconds

Returns the TimeSpan truncated to milliseconds.

TruncatedToMinutes

Returns the TimeSpan truncated to minutes.

TruncatedToSeconds

Returns the TimeSpan truncated to seconds.

TruncatedToUnits

Returns the TimeSpan truncated to the specified units.

WithUnits

Changes the reporting units of the TimeSpan. The value of the TimeSpan will be unaffected.
