Enum Class Freq

java.lang.Object
java.lang.Enum<Freq>
org.dmfs.rfc5545.recur.Freq
All Implemented Interfaces:
Serializable, Comparable<Freq>, Constable

public enum Freq extends Enum<Freq>
Enumeration of valid FREQ values. Each value provides methods to get the successor of a given date based the respective frequency an a given interval.
  • Enum Constant Details

    • YEARLY

      public static final Freq YEARLY
    • MONTHLY

      public static final Freq MONTHLY
    • WEEKLY

      public static final Freq WEEKLY
    • DAILY

      public static final Freq DAILY
    • HOURLY

      public static final Freq HOURLY
    • MINUTELY

      public static final Freq MINUTELY
    • SECONDLY

      public static final Freq SECONDLY
  • Method Details

    • values

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