Skip to content

intermodal/format

  • Container free time, demurrage, billing deadlines, bill of lading dates and EDI timestamps.
  • bolTimestamp: Render an instant as the date a bill of lading carries for an event: the calendar date on the local clock where the event happened.
  • formatEdifactDate: Write an ISO 8601 date as a UN/EDIFACT DTM value (data element 2380) in a date format code (data element 2379).
  • formatEdifactDatePeriod: Write two ISO 8601 dates as a UN/EDIFACT DTM period (data element 2380) in a date period format code (data element 2379).
  • formatEdifactDateTime: Write an ISO 8601 local date-time as a UN/EDIFACT DTM value (data element 2380) in a format code with no offset (data element 2379).
  • formatEdifactDateTimePeriod: Write two ISO 8601 local date-times as a UN/EDIFACT DTM period (data element 2380) in a date-time period format code (data element 2379).
  • formatEdifactOffsetDateTime: Write an ISO 8601 date-time with an offset as a UN/EDIFACT DTM value (data element 2380) in a format code that carries an offset (data element 2379).
  • formatEdifactTime: Write an ISO 8601 time as a UN/EDIFACT DTM value (data element 2380) in a time format code (data element 2379).
  • formatEpcisEvent: Write an instant-plus-offset pair as the two required time fields of a GS1 EPCIS 2.0 event.
  • formatX12Date: Write an ISO 8601 date as an X12 Date Time Period value (data element 1251) in a date format qualifier (data element 1250).
  • formatX12DateRange: Write two ISO 8601 dates as an X12 Date Time Period range (data element 1251) in a date range format qualifier (data element 1250).
  • formatX12DateTime: Write an ISO 8601 local date-time as an X12 Date Time Period value (data element 1251) in a date-time format qualifier (data element 1250).
  • formatX12DateTimeRange: Write two ISO 8601 local date-times as an X12 Date Time Period range (data element 1251) in a date-time range format qualifier (data element 1250).
  • formatX12Time: Write an ISO 8601 time as an X12 time in a time format qualifier (data element 1250).
  • formatX12TimeElement: Write an ISO 8601 time as an X12 data element 337 (Time) value, in the form the caller names by the element’s own mask.
  • BillOfLadingEvent: Which date on a bill of lading a value is rendered for, one per dated field of the DCSA Bill of Lading 3.0 TransportDocument:
  • BolTimestampOptions: Options for bolTimestamp.
  • X12TimeElementForm: The four forms of X12 data element 337 (Time), each named by the element’s own mask.