Hi, (2) I notice that the BCD date values in ValueTimestamp and DateTimeUtils > don't need to be a long. > It's stored like this: > return ((long) year << SHIFT_YEAR) | (month << SHIFT_MONTH) | day; > which expands to > return ((long) year << 9) | (month << 5) | day; > If we store it in an int, we have 22 bits of range for the year, which I > suspect is plenty :-) >
I know in 99.99% you don't need that, but for compatibility, I would like to support the same date range as is supported by java.util.Date. Regards, Thomas -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
