]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D01B/Segments/DTM.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Segments / DTM.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D01B.Segments.DTM
7 ( -- * Definition
8 segmentDTM
9 -- * Dependencies
10 , compositeC507
11 ) where
12
13 import Text.Edifact.D01B.Composites (compositeC507)
14
15 import Text.Edifact.Parsing
16 import Text.Edifact.Types (Value)
17
18 -- | Derived from this specification:
19 --
20 -- > DTM DATE/TIME/PERIOD
21 -- >
22 -- > Function: To specify date, and/or time, or period.
23 -- >
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
29 --
30 -- Dependencies: 'compositeC507'.
31 segmentDTM :: Parser Value
32 segmentDTM =
33 segment "DTM"
34 [ "010" .@ mandatory compositeC507
35 ]