Package hec.rss.model

Enum Class TimeStepUtil

java.lang.Object
java.lang.Enum<TimeStepUtil>
hec.rss.model.TimeStepUtil
All Implemented Interfaces:
Serializable, Comparable<TimeStepUtil>, java.lang.constant.Constable

public enum TimeStepUtil extends Enum<TimeStepUtil>
Copyright (c) 2019 United States Army Corps of Engineers - Hydrologic Engineering Center (USACE/HEC) All Rights Reserved. USACE PROPRIETARY/CONFIDENTIAL. Source may not be released without written approval from HEC
  • Enum Constant Details

    • TIME_STEP_UNDEFINED

      public static final TimeStepUtil TIME_STEP_UNDEFINED
    • TIME_STEP_ALL

      public static final TimeStepUtil TIME_STEP_ALL
    • TIME_STEP_5_MIN

      public static final TimeStepUtil TIME_STEP_5_MIN
    • TIME_STEP_10_MIN

      public static final TimeStepUtil TIME_STEP_10_MIN
    • TIME_STEP_15_MIN

      public static final TimeStepUtil TIME_STEP_15_MIN
    • TIME_STEP_30_MIN

      public static final TimeStepUtil TIME_STEP_30_MIN
    • TIME_STEP_1_HR

      public static final TimeStepUtil TIME_STEP_1_HR
    • TIME_STEP_2_HR

      public static final TimeStepUtil TIME_STEP_2_HR
    • TIME_STEP_3_HR

      public static final TimeStepUtil TIME_STEP_3_HR
    • TIME_STEP_4_HR

      public static final TimeStepUtil TIME_STEP_4_HR
    • TIME_STEP_6_HR

      public static final TimeStepUtil TIME_STEP_6_HR
    • TIME_STEP_12_HR

      public static final TimeStepUtil TIME_STEP_12_HR
    • TIME_STEP_1_DAY

      public static final TimeStepUtil TIME_STEP_1_DAY
  • Method Details

    • values

      public static TimeStepUtil[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TimeStepUtil valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDuration

      public Duration getDuration()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TimeStepUtil>
    • getAllDefinedValues

      public static TimeStepUtil[] getAllDefinedValues()
    • findValue

      public static TimeStepUtil findValue(Duration d)
    • values

      public static TimeStepUtil[] values(TimeStepUtil.Filter filter)