I'm talking about this interface method:
The most commonly used implementation being the one in cachedrowset:
You will notice that the implementation does two very weird things:
1) it modifies the calendar passed as argument, even though there is also a return value
2) it extracts all the time information from SQL, except for the milliseconds, which come from the calendar passed as argument.
The interface description is rather unclear, but assuming the implementation is correct - What is the point of this method? I can understand a method that would take a calendar to extract just the timezone, without modifying it. But taking a calendar, modifying it, and extracting not only the zone but also the milliseconds...
Does anyone have any insight as to the history/design/reasoning behind this API?