August 2003
Intermediate to advanced
624 pages
15h 3m
English
This class handles conversion to and from the X12 Time data type to the schema language time data type based on ISO 8601. The differences in representation are shown earlier in the chapter in Table 9.6.
Arguments:
None
Returns:
Error status or throws exception
IF Buffer Length < 8
Return error
ENDIF
Hours <- Cell Buffer characters at offsets 0 and 1
Minutes <- Cell Buffer characters at offsets 3 and 4
Seconds <- Cell Buffer characters at offsets 6 and 7
Fractional Seconds <- Cell Buffer characters 9 and beyond,
if present
Cell Buffer <- Hours + Minutes + Seconds + Fractional Seconds
Buffer Length <- String length of Cell Buffer
Return success
|