HiRISE

HiRISE.HiReport.model
Enum MartianSeason

java.lang.Object
  extended by java.lang.Enum<MartianSeason>
      extended by HiRISE.HiReport.model.MartianSeason
All Implemented Interfaces:
Serializable, Comparable<MartianSeason>

public enum MartianSeason
extends Enum<MartianSeason>

Represents each Martian Season


Enum Constant Summary
northernfall
          Season with sub-solar longitude 180 - 270
northernspring
          Season with sub-solar longitude 0 - 90
northernsummer
          Season with sub-solar longitude 90 - 180
northernwinter
          Season with sub-solar longitude 270 - 360
 
Method Summary
 int[] getLsRange()
          The solar longitude range of the season, in degrees.
 String toString()
          A descriptive title for the season
static MartianSeason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MartianSeason[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

northernspring

public static final MartianSeason northernspring
Season with sub-solar longitude 0 - 90


northernsummer

public static final MartianSeason northernsummer
Season with sub-solar longitude 90 - 180


northernfall

public static final MartianSeason northernfall
Season with sub-solar longitude 180 - 270


northernwinter

public static final MartianSeason northernwinter
Season with sub-solar longitude 270 - 360

Method Detail

values

public static MartianSeason[] 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 (MartianSeason c : MartianSeason.values())
    System.out.println(c);

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

valueOf

public static MartianSeason 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

toString

public String toString()
A descriptive title for the season

Overrides:
toString in class Enum<MartianSeason>
Returns:
season title

getLsRange

public int[] getLsRange()
The solar longitude range of the season, in degrees.

Returns:
solar longitude in degrees

HiRISE

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