Converts a DateTime value into a minutes-past-epoch value.
Namespace: Zeptomoby.OrbitTools.TrackAssembly: Zeptomoby.OrbitTools.Track (in Zeptomoby.OrbitTools.Track.dll) Version: 1.5.0.0 (1.5.0.0)
Syntax
C# |
---|
public static double TimeToMpe(
this IOrbit orbit,
DateTime time
) |
Visual Basic |
---|
<ExtensionAttribute> _
Public Shared Function TimeToMpe ( _
orbit As IOrbit, _
time As DateTime _
) As Double |
Visual C++ |
---|
[ExtensionAttribute]
public:
static double TimeToMpe(
IOrbit^ orbit,
DateTime time
) |
Parameters
- orbit
- Type: IOrbit
The satellite orbit.
- time
- Type: System..::..DateTime
The time to convert.
Return Value
The total number of minutes past epoch.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IOrbit. When you use instance method syntax to call this method, omit the first parameter. For more information, see
or
.
See Also