Sha256: af0711f9d21c714532666204b572bcc6bee0ea7eafef74191dce2c2be7197e9f

Contents?: true

Size: 1.13 KB

Versions: 4

Compression:

Stored size: 1.13 KB

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: 337
    # - Name: Time
    # - Type: TM
    # - Min/Max: 4/8
    # - Description: Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
    class E337 < Eddy::Element::TM
      # @param val [Time]
      # @param req [String] (nil)
      # @param ref [String] (nil)
      # @return [void]
      def initialize(val: nil, req: nil, ref: nil)
        @id = "337"
        @name = "Time"
        @description = "Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)"
        self.fmt = :hhmmssdd
        super(
          min: 4,
          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/337.time.rb
eddy-0.5.0 lib/definitions/elements/manual/337.time.rb
eddy-0.4.0 lib/definitions/elements/manual/337.time.rb
eddy-0.3.0 lib/definitions/elements/manual/337.time.rb