VirtualTimeSpanArray.ToStringArray(String) Method

Top 

Description

Returns a copy of the TimeSpanArray in the form of a StringArray. The TimeSpan values will be converted with units specified by the units argument. Because FreeFlyer Variables are internally stored as 64-Bit floating-point, precision may be lost in the conversion.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

VirtualTimeSpanArray.ToStringArray(

String units)

 

 

Arguments

units


Description:

The reporting units to use.

Valid Values:

Value

Label

"day"

days

"hr"

hours

"min"

minutes

"s"

seconds

"ms"

milliseconds

"us"

microseconds

"ns"

nanoseconds

 

 

 

 

Return Value

Type:

Array of string

 

 

Returns a StringArray object that contains the values of the TimeSpanArray as Strings.

 

Syntax

myStringArray1 = {TimeSpan.FromDays(1), TimeSpan.FromDays(2)}.ToStringArray(myString1);

 

 

See also

VirtualTimeSpanArray Object