HiRISE

HiRISE.HiPlan.HiTemp
Class Date_Axis_Units

java.lang.Object
  extended by HiRISE.HiPlan.HiTemp.Date_Axis_Units

public class Date_Axis_Units
extends Object

A factory for producing sets of tick units for the HiTemp temperature plot. The tick units are formatted with day-of-year formats, suitable for MRO operations.

The getTickUnits method produces a TickUnitSource from an input TimeZone.

Version:
1.3
Author:
Christian Schaller - UA/PIRL

Field Summary
static String ID
          Class identification name with source code version and date.
 
Method Summary
static TickUnits getTickUnits(TimeZone timeZone)
          Gets a new set of tick units with date axis units formatted for MRO operations, using the supplied time zone.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
Class identification name with source code version and date.

See Also:
Constant Field Values
Method Detail

getTickUnits

public static TickUnits getTickUnits(TimeZone timeZone)
Gets a new set of tick units with date axis units formatted for MRO operations, using the supplied time zone.

To ensure that the ticks match the date axis, this method should be invoked with the same time zone as that used in the date axis, e.g.:

        DateAxis
                axis = new DateAxis ("Date (UTC)", TimeZone.getTimeZone ("UTC"));
        TickUnits
                units = Date_Axis_Units.getTickUnits (axis.getTimeZone ());

Parameters:
timeZone - the time zone for the date axis units; if null, the system default time zone will be used.
Returns:
the set of tick units.

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona