Sha256: 109719ebb32ea35925cc0ad45638d09f1b69c8f3ab05d1666841136948d43983

Contents?: true

Size: 802 Bytes

Versions: 4

Compression:

Stored size: 802 Bytes

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: I08
    # - Name: Interchange Date
    # - Type: DT (YYMMDD)
    # - Min/Max: 6/6
    # - Description: Date of the interchange
    #
    # ### Notes:
    #
    # This element's value will be generated by `Eddy`.
    # No call to `value=` is needed.
    class I08 < Eddy::Element::DT
      # @param val [Time]
      # @param req [String] (nil)
      # @param ref [String] (nil)
      # @return [void]
      def initialize(val:, req: nil, ref: nil)
        @id = "I08"
        @name = "Interchange Date"
        @description = "Date of the interchange"
        self.fmt = :yymmdd
        super(
          min: 6,
          max: 6,
          req: req,
          ref: ref,
          val: val,
        )
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eddy-0.5.1 lib/definitions/elements/manual/i/I08.interchange_date.rb
eddy-0.5.0 lib/definitions/elements/manual/i/I08.interchange_date.rb
eddy-0.4.0 lib/definitions/elements/manual/i/I08.interchange_date.rb
eddy-0.3.0 lib/definitions/elements/manual/i/I08.interchange_date.rb