Jeospace API

org.jeospace.text
Class EpochFormat

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

public class EpochFormat
extends java.lang.Object

A utility for supporting various formats of date and time representations as found in orbital element data sources.

Version:
$Revision: 1.1.1.1 $
Author:
Rex Melton
See Also:
EpochFormatStyle

Constructor Summary
EpochFormat(EpochFormatStyle style)
          Construct an EpochFormat object initialized to format and parse Epochs per the argument style
 
Method Summary
 java.lang.String format(Epoch epoch)
          Return the String for the Epoch in the instantiated style
 EpochFormatStyle getEpochFormatStyle()
          Return the EpochFormatStyle object
 Epoch parse(java.lang.String value)
          Return the Epoch that cooresponds to the argument value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EpochFormat

public EpochFormat(EpochFormatStyle style)
Construct an EpochFormat object initialized to format and parse Epochs per the argument style

Parameters:
style - The style identifier
Method Detail

getEpochFormatStyle

public EpochFormatStyle getEpochFormatStyle()
Return the EpochFormatStyle object

Returns:
the EpochFormatStyle object

parse

public Epoch parse(java.lang.String value)
Return the Epoch that cooresponds to the argument value

Parameters:
value - the String to convert
Returns:
the

format

public java.lang.String format(Epoch epoch)
Return the String for the Epoch in the instantiated style

Parameters:
epoch - The Epoch
Returns:
the String value

Jeospace API

Copyright © 2006 - jeospace.org