Class Constants

java.lang.Object
ecmwf.ecpds.master.plugin.http.controller.monitoring.Constants

public class Constants extends Object
The Class Constants.
  • Field Details

    • ISO_FORMAT

      public static final String ISO_FORMAT
      The Constant ISO_FORMAT.
      See Also:
    • TIMELINE_STEP_WIDTH

      public static final Integer TIMELINE_STEP_WIDTH
      The Constant TIMELINE_STEP_WIDTH.
    • LAST_PRODUCT_SESSION_KEY

      public static final String LAST_PRODUCT_SESSION_KEY
      The Constant LAST_PRODUCT_SESSION_KEY.
      See Also:
    • LAST_TIME_SESSION_KEY

      public static final String LAST_TIME_SESSION_KEY
      The Constant LAST_TIME_SESSION_KEY.
      See Also:
    • DAYS_BACK

      public static final int DAYS_BACK
      The Constant DAYS_BACK.
      See Also:
    • TIMES

      public static final ArrayList<String> TIMES
      The Constant TIMES.
  • Constructor Details

    • Constants

      public Constants()
  • Method Details

    • getDateOptions

      public static final Collection<String> getDateOptions()
      Gets the date options.
      Returns:
      the date options
    • getDate

      public static final Date getDate(String date) throws ecmwf.web.controller.ECMWFActionFormException
      Gets the date.
      Parameters:
      date - the date
      Returns:
      the date
      Throws:
      ecmwf.web.controller.ECMWFActionFormException - the ECMWF action form exception