blob: 066724c74bf1999b18605405719bd19df5e47010 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{-# LANGUAGE OverloadedStrings #-}
---- Machine generated code.
---- Output of edi-parser-scaffolder
module Text.Edifact.D96A.Segments.DTM
( -- * Definition
segmentDTM
-- * Dependencies
, compositeC507
) where
import Text.Edifact.D96A.Composites (compositeC507)
import Text.Edifact.Parsing
import Text.Edifact.Types (Value)
-- | Derived from this specification:
--
-- > DTM DATE/TIME/PERIOD
-- >
-- > Function: To specify date, and/or time, or period.
-- >
-- > 010 C507 DATE/TIME/PERIOD M
-- > 2005 Date/time/period qualifier M an..3
-- > 2380 Date/time/period C an..35
-- > 2379 Date/time/period format qualifier C an..3
--
-- Dependencies: 'compositeC507'.
segmentDTM :: Parser Value
segmentDTM =
segment "DTM"
[ "010" .@ mandatory compositeC507
]
|