Jeospace API

org.jeospace.text
Class EpochFormatStyle

java.lang.Object
  extended byorg.jeospace.text.EpochFormatStyle

public class EpochFormatStyle
extends java.lang.Object

Constant objects representing the format style of an EpochFormat.

Version:
$Revision: 1.1.1.1 $
Author:
Rex Melton

Field Summary
static EpochFormatStyle CD
          Constant indicating a compact date format as found in the orbital elements of comets for the time of periapsis.
static EpochFormatStyle JULIAN_DAY
          Constant indicating a Julian Day representation.
static EpochFormatStyle MODIFIED_JULIAN_DAY
          Constant indicating a Modified Julian Day representation.
 java.lang.String name
          The name of the format type
static EpochFormatStyle PACKED
          Constant indicating a packed date format as found in the orbital elements of minor planets from the MPC.
static EpochFormatStyle TLE
          Constant indicating a Two Line Element format as found in NASA orbital elements.
 
Constructor Summary
protected EpochFormatStyle(java.lang.String name)
          Construct a EpochFormatStyle object.
 
Method Summary
static EpochFormatStyle[] getEpochFormatStyles()
          Return an array of the defined EpochFormatStyle objects
 java.lang.String toString()
          Return a String representation ( the name String ) of this EpochFormatStyle object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JULIAN_DAY

public static final EpochFormatStyle JULIAN_DAY
Constant indicating a Julian Day representation.


MODIFIED_JULIAN_DAY

public static final EpochFormatStyle MODIFIED_JULIAN_DAY
Constant indicating a Modified Julian Day representation. (i.e. a Julian Day - 2400000.5 ).


TLE

public static final EpochFormatStyle TLE
Constant indicating a Two Line Element format as found in NASA orbital elements. (i.e. yyDDD.DDDDDDDD ). For reference on the string format see: http://www.celestrak.com/columns/v04n03/#FAQ01


CD

public static final EpochFormatStyle CD
Constant indicating a compact date format as found in the orbital elements of comets for the time of periapsis. (i.e. yyyyMMdd.dddddddd ).


PACKED

public static final EpochFormatStyle PACKED
Constant indicating a packed date format as found in the orbital elements of minor planets from the MPC. See:
Packed Dates


name

public final java.lang.String name
The name of the format type

Constructor Detail

EpochFormatStyle

protected EpochFormatStyle(java.lang.String name)
Construct a EpochFormatStyle object.

Parameters:
name - the format type
Method Detail

getEpochFormatStyles

public static EpochFormatStyle[] getEpochFormatStyles()
Return an array of the defined EpochFormatStyle objects

Returns:
the array of the defined EpochFormatStyle objects

toString

public java.lang.String toString()
Return a String representation ( the name String ) of this EpochFormatStyle object.

Returns:
a String representation of this EpochFormatStyle object

Jeospace API

Copyright © 2006 - jeospace.org