From: Dave S. <D.T...@li...> - 2012-05-15 09:02:38
|
On 15 May 2012 09:16, Giuseppe Modugno <g.m...@el...> wrote: > The fourth is to define a new private/custom TimeOfWeek textual > convetion of 3 bytes (day of the week 1..7, hours 0..23, minutes 0..59). That would probably be my preference of the four alternatives. Make sure that your TC specifies explicitly what the enumeration values for day of the week represent. i.e. it's Mon(1), Tue(2), etc or Sun(1), Mon(2), etc (or something else!) You might also wish to consider having a four-octet TC, to allow for the possibility of per-second granularity (even if you don't need this now - how confident are you that it won't be requested in the future?) Dave |