java.lang.Object
java.lang.Enum<OceanusDateResource>
io.github.tonywasher.joceanus.oceanus.date.OceanusDateResource
All Implemented Interfaces:
OceanusBundleId, Serializable, Comparable<OceanusDateResource>, Constable

public enum OceanusDateResource extends Enum<OceanusDateResource> implements OceanusBundleId
Resource IDs for TethysDate package.
  • Enum Constant Details

  • Method Details

    • values

      public static OceanusDateResource[] 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 OceanusDateResource 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
    • getKeyName

      public String getKeyName()
      Description copied from interface: OceanusBundleId
      Get Key Name.
      Specified by:
      getKeyName in interface OceanusBundleId
      Returns:
      the key name.
    • getNameSpace

      public String getNameSpace()
      Description copied from interface: OceanusBundleId
      Get NameSpace.
      Specified by:
      getNameSpace in interface OceanusBundleId
      Returns:
      the nameSpace.
    • getValue

      public String getValue()
      Description copied from interface: OceanusBundleId
      Get Value.
      Specified by:
      getValue in interface OceanusBundleId
      Returns:
      the value.
    • getKeyForPeriod

      protected static OceanusBundleId getKeyForPeriod(OceanusDatePeriod pPeriod)
      Obtain key for period.
      Parameters:
      pPeriod - the period
      Returns:
      the resource key