1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Segments.DTM
13 import Text.Edifact.D01B.Composites (compositeC507)
15 import Text.Edifact.Parsing
16 import Text.Edifact.Types (Value)
18 -- | Derived from this specification:
20 -- > DTM DATE/TIME/PERIOD
22 -- > Function: To specify date, and/or time, or period.
24 -- > 010 C507 DATE/TIME/PERIOD M 1
25 -- > 2005 Date or time or period function code
26 -- > qualifier M an..3
27 -- > 2380 Date or time or period value C an..35
28 -- > 2379 Date or time or period format code C an..3
30 -- Dependencies: 'compositeC507'.
31 segmentDTM :: Parser Value
34 [ "010" .@ mandatory compositeC507