]>
Commit | Line | Data |
---|---|---|
a9d77a20 FM |
1 | {-# LANGUAGE OverloadedStrings #-} |
2 | ||
3 | ---- Machine generated code. | |
4 | ---- Output of edi-parser-scaffolder | |
5 | ||
6 | module Text.Edifact.D96A.Segments.DTM | |
7 | ( -- * Definition | |
8 | segmentDTM | |
9 | -- * Dependencies | |
10 | , compositeC507 | |
11 | ) where | |
12 | ||
13 | import Text.Edifact.D96A.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 | |
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'. | |
30 | segmentDTM :: Parser Value | |
31 | segmentDTM = | |
32 | segment "DTM" | |
33 | [ "010" .@ mandatory compositeC507 | |
34 | ] |