blob: 82e0975b57b26f71cb4f96d55a3de76e20d69d14 (
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
35
|
{-# LANGUAGE OverloadedStrings #-}
---- Machine generated code.
---- Output of edi-parser-scaffolder
module Text.Edifact.D01B.Segments.DTM
( -- * Definition
segmentDTM
-- * Dependencies
, compositeC507
) where
import Text.Edifact.D01B.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 1
-- > 2005 Date or time or period function code
-- > qualifier M an..3
-- > 2380 Date or time or period value C an..35
-- > 2379 Date or time or period format code C an..3
--
-- Dependencies: 'compositeC507'.
segmentDTM :: Parser Value
segmentDTM =
segment "DTM"
[ "010" .@ mandatory compositeC507
]
|