fr.cnes.genopus.time
Class GPIntervalFormatAbsoluteDate

java.lang.Object
  extended by fr.cnes.genius.interval.GIntervalFormatAbstract
      extended by fr.cnes.genopus.time.GPIntervalFormatAbsoluteDate

public class GPIntervalFormatAbsoluteDate
extends fr.cnes.genius.interval.GIntervalFormatAbstract

Abstract class defining an interval formatter used to update the format of the tooltip message of a GPAbsoluteDate.

Author:
ffsm

Constructor Summary
GPIntervalFormatAbsoluteDate(org.orekit.time.TimeScale timeScale, GPDateField.GPDateFormat dateFormat)
          Constructor.
 
Method Summary
 String format(Object object)
           The object must be of AbsoluteDate type.
 void update(org.orekit.time.TimeScale timeScale, GPDateField.GPDateFormat dateFormat)
          Update the class attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPIntervalFormatAbsoluteDate

public GPIntervalFormatAbsoluteDate(org.orekit.time.TimeScale timeScale,
                                    GPDateField.GPDateFormat dateFormat)
Constructor.

Parameters:
timeScale - time scale for the interval edges to be shown in the message
dateFormat - calendar, jj1950, jj2000, jjsec1950 or jjsec2000 for the interval edges to be shown in the message
Method Detail

format

public String format(Object object)
The object must be of AbsoluteDate type.

Specified by:
format in class fr.cnes.genius.interval.GIntervalFormatAbstract

update

public void update(org.orekit.time.TimeScale timeScale,
                   GPDateField.GPDateFormat dateFormat)
Update the class attributes.

Parameters:
timeScale - time scale for the interval edges to be shown in the message
dateFormat - calendar, jj1950, jj2000, jjsec1950 or jjsec2000 for the interval edges to be shown in the message


Copyright © 2017. All rights reserved.