Enum Class OffsetAgo

java.lang.Object
java.lang.Enum<OffsetAgo>
com.rpl.rama.module.OffsetAgo
All Implemented Interfaces:
Serializable, Comparable<OffsetAgo>, Constable

public enum OffsetAgo extends Enum<OffsetAgo>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Start from first record added after this many days in the past
    Start from first record added after this many hours in the past
    Start from first record added after this many minutes in the past
    Start from this number of records in the past
    Start from first record added after this many seconds in the past
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    clojure.lang.Keyword
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static OffsetAgo
    Returns the enum constant of this class with the specified name.
    static OffsetAgo[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • RECORDS

      public static final OffsetAgo RECORDS
      Start from this number of records in the past
    • SECONDS

      public static final OffsetAgo SECONDS
      Start from first record added after this many seconds in the past
    • MINUTES

      public static final OffsetAgo MINUTES
      Start from first record added after this many minutes in the past
    • HOURS

      public static final OffsetAgo HOURS
      Start from first record added after this many hours in the past
    • DAYS

      public static final OffsetAgo DAYS
      Start from first record added after this many days in the past
  • Field Details

    • value

      public clojure.lang.Keyword value
  • Method Details

    • values

      public static OffsetAgo[] 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 OffsetAgo 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