Enum Class DateTimeUtilities.DateTimeType

java.lang.Object
java.lang.Enum<DateTimeUtilities.DateTimeType>
jfxtras.icalendarfx.utilities.DateTimeUtilities.DateTimeType
All Implemented Interfaces:
Serializable, Comparable<DateTimeUtilities.DateTimeType>, Constable
Enclosing class:
DateTimeUtilities

public static enum DateTimeUtilities.DateTimeType extends Enum<DateTimeUtilities.DateTimeType>
  • Enum Constant Details

  • Field Details

    • pattern

      private String pattern
  • Constructor Details

    • DateTimeType

      private DateTimeType(String pattern)
  • Method Details

    • values

      public static DateTimeUtilities.DateTimeType[] 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 DateTimeUtilities.DateTimeType 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
    • getPattern

      public String getPattern()
    • of

      public static DateTimeUtilities.DateTimeType of(Temporal temporal)
      Find DateTimeType of Temporal parameter temporal
    • is

      abstract boolean is(Temporal temporal)
      returns true if temporal is of the DateTimeType, false otherwise
    • parse

      public abstract Temporal parse(String value, ZoneId zone)
    • from

      public abstract Temporal from(Temporal temporal, ZoneId zone)
      Convert temporal to new DateTimeType - for DATE_WITH_LOCAL_TIME_AND_TIME_ZONE
    • from

      public abstract Temporal from(Temporal temporal)
      Convert temporal to new DateTimeType - for all types, but DATE_WITH_LOCAL_TIME_AND_TIME_ZONE