The problem in this is getting the mode. I could pass it in, but the calling class (ValueTime) does not know about the mode either. Adding a mode parameter to ValueTime.parse leads to requiring a mode in Value.convertTo(). And this leads to nearly every method of Value requiring a mode parameter (which makes the interface messy) or having a mode field in every Value instance (which might have some performance/memory impacts).
Do you see a better approach for this? Am Sonntag, 17. April 2016 12:55:39 UTC+2 schrieb Noel Grandin: > > Mostly fine thanks, but I'd prefer that you patched the Mode class to add > another boolean option for this > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
