Skip to main content

Module date_time

Module date_time 

Source
Expand description

Date-Time objects — ETSI EN 50221 §8.5.2, Tables 31-32 (PDF p. 35).

  • date_time_enq (9F 84 40, Table 31) — one-byte response_interval.
  • date_time (9F 84 41, Table 32) — 5-byte MJD+BCD UTC time, plus an optional 16-bit signed local_offset (length_field = 5 or 7).

(The PDF mislabels both tables “Date-Time Enquiry”; Table 32 is the date_time() object — see docs/en_50221/datetime.md.) The UTC_time is carried as the verbatim 5 wire bytes (MJD+BCD, EN 300 468 Annex C) so it round-trips without needing the chrono feature.

Structs§

DateTime
date_time() — current UTC date/time with optional local offset (Table 32).
DateTimeEnq
date_time_enq() — Date-Time Enquiry (Table 31).

Constants§

UTC_TIME_LEN
Length of the UTC_time field (40 bits = 5 bytes).