fr.cnes.genopus.time
Enum GPAbsoluteDate.GPDateTimeScale

java.lang.Object
  extended by java.lang.Enum<GPAbsoluteDate.GPDateTimeScale>
      extended by fr.cnes.genopus.time.GPAbsoluteDate.GPDateTimeScale
All Implemented Interfaces:
Serializable, Comparable<GPAbsoluteDate.GPDateTimeScale>
Enclosing class:
GPAbsoluteDate

public static enum GPAbsoluteDate.GPDateTimeScale
extends Enum<GPAbsoluteDate.GPDateTimeScale>

Time scales (with the same names used in Orekit).

Author:
aadt

Enum Constant Summary
GPS
           
GST
           
TAI
           
TT
           
UTC
           
 
Method Summary
 org.orekit.time.TimeScale getPatriusObject()
          Obtain the Patrius TimeScale from the GENOPUS GPDateTimeScale.
static GPAbsoluteDate.GPDateTimeScale valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GPAbsoluteDate.GPDateTimeScale[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UTC

public static final GPAbsoluteDate.GPDateTimeScale UTC

TAI

public static final GPAbsoluteDate.GPDateTimeScale TAI

TT

public static final GPAbsoluteDate.GPDateTimeScale TT

GPS

public static final GPAbsoluteDate.GPDateTimeScale GPS

GST

public static final GPAbsoluteDate.GPDateTimeScale GST
Method Detail

values

public static GPAbsoluteDate.GPDateTimeScale[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GPAbsoluteDate.GPDateTimeScale c : GPAbsoluteDate.GPDateTimeScale.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GPAbsoluteDate.GPDateTimeScale valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getPatriusObject

public org.orekit.time.TimeScale getPatriusObject()
Obtain the Patrius TimeScale from the GENOPUS GPDateTimeScale.

Returns:
the Patrius TimeScale associated to the GENOPUS GPDateTimeScale;


Copyright © 2017. All rights reserved.