On Sun Jan 29 2017 19:49:20, mark lewis wrote to Nicholas Boel:
ml> On 2017 Jan 29 17:22:00, you wrote to Michiel van der Vlist:
NB>> 3) Section F, The month variable is set to 0-11, and not 1-12. NB>> There is no month 0, and would never be used that way. January is NB>> month #1, December is month #12.
ml> on this you have to remember that programmers start counting at ml> zero... january is month 0 and december is month 11... from zero to 11 ml> is 12... zero is really a number even though some folks don't know ml> that it is ;)
Then why is the "dayOfMonth" variable 1-31? You cannot have it both ways. Stephen's original draft had a zeroToSixty variable, that was used for both minutes as well as seconds. Obviously not all of those numbers would have been used in the minutes variable, but they were there for the using, regardless.
If the "month" variable is going to use 0-11, then "dayOfMonth" should use 0-30 to keep form with everything else listed there. But since there is no 0th day of the month, or no 0th month of the year.. I think it should go that way instead. The definitions are currently contradicting each other, whereas Stephen's ABNF reference did not.
Regards, Nick
... "Не знаю. Я здесь только работаю." --- GoldED+/LNX 1.1.5-b20161221 * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)