On 08/02/11 07:46, Guy Harris wrote:
The "day of year" format code was introduced to support a couple of CCSDS: http://en.wikipedia.org/wiki/Consultative_Committee_for_Space_Data_Systemsprotocols. The code it replaced displayed the day-of-year as 0-origin; however, this document: http://public.ccsds.org/publications/archive/301x0b2s.pdf speaks of day-of-year as being 1-origin, at least for the ASCII time code formats. Unless the NASA guys who contributed the packet-ccsds.c and packet-vcdu.c dissectors would like to argue that, in their dissection, a 0-origin day-of-year works better, in which case we should support both 0-origin and 1-origin display formats, I would suggest switching to a 1-origin display format and see whether we get a complaint from any space data people (in which case we should add a separate 0-origin format).
The IRIG 200-04 standard encodes dates as 'day of year' with 1-origin as well.
https://wsmrc2vger.wsmr.army.mil/rcc/manuals/200-04/TT-45.pdf http://en.wikipedia.org/wiki/IRIG_timecode Stephen. -- ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
