Sha256: 10016aa6507b99847d4a4a515d2b5bf8392cbd1973fd88a640f8985eaef9318c
Contents?: true
Size: 1.85 KB
Versions: 4
Compression:
Stored size: 1.85 KB
Contents
module Eddy module Segments # ### Segment Summary: # # - Id: DTM # - Name: Date/Time Reference # - Purpose: To specify pertinent dates and times. class DTM < Eddy::Models::Segment # @param store [Eddy::Data::Store] # @return [void] def initialize(store) @id = "DTM" @name = "Date/Time Reference" @dtm01 = Eddy::Elements::E374.new(ref: "DTM01", req: "M") @dtm02 = Eddy::Elements::E373.new(ref: "DTM02", req: "X") @dtm03 = Eddy::Elements::E337.new(ref: "DTM03", req: "X") super( store, @dtm01, @dtm02, @dtm03, ) end # ### DTM01 # # - Id: 374 # - Name: Date/Time Qualifier # - Type: ID # - Min/Max: 3/3 # - Description: Code specifying type of date or time, or both date and time # # @param arg [String] # @return [void] def DTM01=(arg) @dtm01.value = arg end alias DateTimeQualifier= DTM01= # ### DTM02 # # - Id: 373 # - Name: Date # - Type: DT # - Min/Max: 8/8 # - Description: Date expressed as CCYYMMDD # # @param arg [Time] # @return [void] def DTM02=(arg) @dtm02.value = arg end alias Date= DTM02= # ### DTM03 # # - 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) # # @param arg [Time] # @return [void] def DTM03=(arg) @dtm03.value = arg end alias Time= DTM03= end end end
Version data entries
4 entries across 4 versions & 1 rubygems