When doing the comparison of two dateTimes, the only fields that are inspected 
are year, month, day, hour, minute, and second. So in that sense the timezone 
is ignored. Technically, it is not completely ignored though, since the 
dateTime is normalized to UTC, so a dateTime with a non-UTC TZ will have its 
hours/minutes modified, which are compared.

So this function name ism't completely innacurate. That said, something like 
orderCompareFields might be more specific about what it's actually doing, since 
all it's really doing is looping over a subset of the fields of a calendar and 
comparing them. I'll update the name and comment to be accurate according to 
what the method does.

[ Full content available at: 
https://github.com/apache/incubator-daffodil/pull/116 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to