The order of the data is dependent on if the CPU is Big Endian or Little Endian. This assures that a comparison done on the whole structure as an Int32 (Time32) will return a valid response according to the magnitude of the value. For example if A.Hour was the same as B.Hour, but A.Minute was greater than B.Minute, the comparison would be valid for either Big Endian or Little Endian CPUs. For comparisons the DayOfWeek value would typically be zero if this is only time. If this is part of a larger structure including date, the value of DayOfWeek would only have significance if the date and time portion matched. In such a case the DayOfWeek should match. |