aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Segments/DTM.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/DTM.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Segments/DTM.hs34
1 files changed, 34 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/DTM.hs b/specification/src/Text/Edifact/D96A/Segments/DTM.hs
new file mode 100644
index 0000000..066724c
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Segments/DTM.hs
@@ -0,0 +1,34 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.DTM
7 ( -- * Definition
8 segmentDTM
9 -- * Dependencies
10 , compositeC507
11 ) where
12
13import Text.Edifact.D96A.Composites (compositeC507)
14
15import Text.Edifact.Parsing
16import 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
25-- > 2005 Date/time/period qualifier M an..3
26-- > 2380 Date/time/period C an..35
27-- > 2379 Date/time/period format qualifier C an..3
28--
29-- Dependencies: 'compositeC507'.
30segmentDTM :: Parser Value
31segmentDTM =
32 segment "DTM"
33 [ "010" .@ mandatory compositeC507
34 ]