Skip to content

intermodal/validate

  • Container free time, demurrage, billing deadlines, bill of lading dates and EDI timestamps.
  • isValidEdifactDate: Return true when value is a UN/EDIFACT DTM value (data element 2380) that states a real calendar date in a date format code (data element 2379).
  • isValidEdifactDatePeriod: Return true when value is a UN/EDIFACT DTM value (data element 2380) that states a period between two real calendar dates, in a date period format code (data element 2379).
  • isValidEdifactDateTime: Return true when value is a UN/EDIFACT DTM value (data element 2380) that states a real date and time in a format code with no offset (data element 2379).
  • isValidEdifactDateTimePeriod: Return true when value is a UN/EDIFACT DTM value (data element 2380) that states a period between two real local date-times, in a date-time period format code (data element 2379).
  • isValidEdifactDtmFormat: Return true when format is a UN/EDIFACT data element 2379 format code that the EDIFACT functions read and write.
  • isValidEdifactOffsetDateTime: Return true when value is a UN/EDIFACT DTM value (data element 2380) that states a real date and time with an offset from UTC, in a format code that carries one (data element 2379).
  • isValidEdifactTime: Return true when value is a UN/EDIFACT DTM value (data element 2380) that states a real time of day in a time format code (data element 2379).
  • isValidEpcisEvent: Validate whether a value carries the two required time fields of a GS1 EPCIS 2.0 event, each in the grammar GS1 publishes for it.
  • isValidEpcisEventTime: Return true when value is a real GS1 EPCIS 2.0 eventTime: the moment a supply-chain event happened, written as a date and time with Z or a UTC offset.
  • isValidEpcisTimeZoneOffset: Return true when value is a GS1 EPCIS 2.0 eventTimeZoneOffset: the UTC offset the local clock ran at where a supply-chain event happened, written ±HH:MM.
  • isValidX12Date: Return true when value is an X12 Date Time Period value (data element 1251) that states a real calendar date in a date format qualifier (data element 1250).
  • isValidX12DateAndTime: Return true when the date and the time of an X12 segment, sent as two elements, together state a real local date and time.
  • isValidX12DateRange: Return true when value is an X12 Date Time Period value (data element 1251) that states a range between two real calendar dates, in a date range format qualifier (data element 1250).
  • isValidX12DateTime: Return true when value is an X12 Date Time Period value (data element 1251) that states a real date and time in a date-time format qualifier (data element 1250).
  • isValidX12DateTimePeriodFormat: Return true when format is an X12 data element 1250 (Date Time Period Format Qualifier) code that the X12 functions read and write.
  • isValidX12DateTimeRange: Return true when value is an X12 Date Time Period value (data element 1251) that states a range between two real local date-times, in a date-time range format qualifier (data element 1250).
  • isValidX12Time: Return true when value is an X12 time that states a real time of day: a data element 337 value with no qualifier, or a time that fits the data element 1250 format qualifier it arrived with.
  • isValidX12TimeCode: Return true when timeCode is one of the 56 X12 data element 623 time codes, the codes x12TimeCodeOffset and x12TimeCodeZone read between them.
  • EdifactDtmFormat: The UN/EDIFACT data element 2379 (Date or time or period format code) values GMT reads and writes: 11 codes, each in the union of the one kind of value it states.
  • X12DateTimePeriodFormat: The X12 data element 1250 (Date Time Period Format Qualifier) values GMT reads and writes: 10 codes, each in the union of the one kind of value it states.
  • X12TimeCode: The 56 X12 data element 623 (Time Code) values, release 008010, read from Stedi’s X12-licensed dictionary; the X12 text itself was not reached.