4 May
2013
4 May
'13
5:44 p.m.
Le 04/05/13 19:14, Anurag Kalia a écrit :
Why? You need the cache to access the ymd from days and another to validate a date when construction a days date from ymd. Couldn't you have a cache indexed by year/month that gives you the number of days since an epoch (for some years of course)? That means that I need to still calculate year and month. I want to cut this step too. I want to directly access y,m,d from the serial field. That's why. It doesn't mean that the array that you are suggesting wouldn't be present; both have different uses. How would you calculate the days from year/month/day?
Best, Vicente