I've added tests to check all the previously misinterpreted patterns. The previous tricks of using "SS0" and were actually easier to catch using the length of the string changes between the evaluation at the integral second and the magic millisecond counts. I was going to say that I couldn't think of a trick to play on the caching at this time, but then I thought of one and will commit a fix in just a second. Hopefully, I've cut down the creation of Date's even more than your last iteration. I haven't single stepped through the code or ran any performance tests. If I missed something simple, please feel free to tweak it, but let's confer before you do any major surgery.
I noticed that you had removed checks for pre-1970 dates. I had a test that was should have failed but didn't which I have now repaired. Obviously it should be rare that anyone sets their system time back 35 years, but I'd like the cache to be able to handle if somebody uses it in a different context.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
