Enum Class Sansculottides

java.lang.Object
java.lang.Enum<Sansculottides>
net.time4j.calendar.frenchrev.Sansculottides
All Implemented Interfaces:
Serializable, Comparable<Sansculottides>, java.lang.constant.Constable

public enum Sansculottides extends Enum<Sansculottides>

Represents complementary days of the French revolutionary calendar.

Since:
3.33/4.28
Author:
Meno Hochschild
  • Enum Constant Details

    • COMPLEMENTARY_DAY_1

      public static final Sansculottides COMPLEMENTARY_DAY_1

      The first complementary day, also called "jour de la vertu".

    • COMPLEMENTARY_DAY_2

      public static final Sansculottides COMPLEMENTARY_DAY_2

      The second complementary day, also called "jour du génie".

    • COMPLEMENTARY_DAY_3

      public static final Sansculottides COMPLEMENTARY_DAY_3

      The third complementary day, also called "jour du travail".

    • COMPLEMENTARY_DAY_4

      public static final Sansculottides COMPLEMENTARY_DAY_4

      The fourth complementary day, also called "jour de l'opinion".

    • COMPLEMENTARY_DAY_5

      public static final Sansculottides COMPLEMENTARY_DAY_5

      The fifth complementary day, also called "jour des récompenses".

    • LEAP_DAY

      public static final Sansculottides LEAP_DAY

      The sixth complementary day (only in leap years), also called "jour de la révolution".

  • Method Details

    • values

      public static Sansculottides[] 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 Sansculottides 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
    • valueOf

      public static Sansculottides valueOf(int num)

      Gets the enum-constant which corresponds to the given numerical value.

      Parameters:
      num - number of sansculottide day in the range [1-6]
      Returns:
      sansculottide day as enum
      Throws:
      IllegalArgumentException - if given argument is out of range
    • getValue

      public int getValue()

      Gets the corresponding numerical value.

      Returns:
      number of sansculottide day in the range [1-6]
    • getDisplayName

      public String getDisplayName(Locale locale, OutputContext oc)

      Gets the description text dependent on the locale.

      The French language is the best choice for most applications. If chosen then the output context will determine the capitalization.

      Parameters:
      locale - language setting
      oc - output context
      Returns:
      descriptive text for given locale (never null)
      See Also:
      Locale.FRENCH