class Eddy::Segments::DTM

### Segment Summary:

Public Class Methods

new(store) click to toggle source

@param store [Eddy::Data::Store] @return [void]

Calls superclass method Eddy::Models::Segment::new
# File lib/definitions/segments/generated/dtm.rb, line 12
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

Public Instance Methods

DTM01=(arg) click to toggle source

### 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]

# File lib/definitions/segments/generated/dtm.rb, line 36
def DTM01=(arg)
  @dtm01.value = arg
end
Also aliased as: DateTimeQualifier=
DTM02=(arg) click to toggle source

### DTM02

  • Id: 373

  • Name: Date

  • Type: DT

  • Min/Max: 8/8

  • Description: Date expressed as CCYYMMDD

@param arg [Time] @return [void]

# File lib/definitions/segments/generated/dtm.rb, line 51
def DTM02=(arg)
  @dtm02.value = arg
end
Also aliased as: Date=
DTM03=(arg) click to toggle source

### 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]

# File lib/definitions/segments/generated/dtm.rb, line 66
def DTM03=(arg)
  @dtm03.value = arg
end
Also aliased as: Time=
Date=(arg)
Alias for: DTM02=
DateTimeQualifier=(arg)
Alias for: DTM01=
Time=(arg)
Alias for: DTM03=