Enum UIDateTimeDataType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<UIDateTimeDataType>

    public enum UIDateTimeDataType
    extends java.lang.Enum<UIDateTimeDataType>
    The data types that are supported and mappings to the UIDateTimeType, i.e.
    Author:
    Christopher Mindus
    • Method Detail

      • values

        public static UIDateTimeDataType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (UIDateTimeDataType c : UIDateTimeDataType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UIDateTimeDataType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getGDateTimeType

        public GDateTime.Type getGDateTimeType()
        Returns the corresponding type for GDateTime.
      • getValueType

        public Value.Type getValueType()
        Returns the Value type for Value.
        Returns:
        The corresponding Value.type (Value.Type.LocalTime, etc) or for ZoneId Value.Type.String because there is no real match to it apart of String.