Class CipDATE

  • All Implemented Interfaces:
    BitAddressable, BoolHost

    public class CipDATE
    extends CipUINT
    Unsigned days after 1972-01-01. Usable values up to 2151-06-06.
    Author:
    philip
    • Constructor Detail

      • CipDATE

        public CipDATE​(short val)
      • CipDATE

        public CipDATE​(int[] dimensions)
      • CipDATE

        protected CipDATE​(CipDATE data,
                          int[] indices)
    • Method Detail

      • getNestingDef

        public DataDefinitionSeg getNestingDef()
        Description copied from class: BaseDataType
        Return the element (not including array) type definition as a Path Segment, using the abbreviated form if a composite data type.
        Overrides:
        getNestingDef in class CipUINT
      • crcName

        public java.lang.String crcName()
        Description copied from class: BaseDataType
        Obtain the name of this type as used for computing structure CRCs. Can be different from the name(s) used by the CipPath parser.
        Overrides:
        crcName in class CipUINT
        Returns:
      • wrap

        public CipDATE wrap​(int[] indices)
        Description copied from class: BaseDataType
        Application-side wrapper for inner dimensions. Implementations must update memberOffsets if not not using the protected constructor.
        Overrides:
        wrap in class CipUINT
        Parameters:
        indices - Array subscripts. Missing subscripts are allowed.