1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Segments.DTM
13 import Text.Edifact.D96A.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
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
29 -- Dependencies: 'compositeC507'.
30 segmentDTM :: Parser Value
33 [ "010" .@ mandatory compositeC507