Sha256: 9988aea03fc5514d9c7986fcf62ddf36827f03bb33f9c306d401b76373c7373b

Contents?: true

Size: 666 Bytes

Versions: 4

Compression:

Stored size: 666 Bytes

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: 373
    # - Name: Date
    # - Type: DT
    # - Min/Max: 8/8
    # - Description: Date expressed as CCYYMMDD
    class E373 < Eddy::Element::DT
      # @param val [Time] (nil)
      # @param req [String] (nil)
      # @param ref [String] (nil)
      # @return [void]
      def initialize(val: nil, req: nil, ref: nil)
        @id = "373"
        @name = "Date"
        @description = "Date expressed as CCYYMMDD"
        self.fmt = :ccyymmdd
        super(
          min: 8,
          max: 8,
          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/373.date.rb
eddy-0.5.0 lib/definitions/elements/manual/373.date.rb
eddy-0.4.0 lib/definitions/elements/manual/373.date.rb
eddy-0.3.0 lib/definitions/elements/manual/373.date.rb