Andrew Welch schrieb:
2008/5/20 Colin Adams <colinpauladams(_at_)googlemail(_dot_)com>:
The ultimate example of zero/one based confusion is in Java when
creating a date - days are 1 based, but months are zero based, so
new GregorianCalendar(2008, 5, 20)
returns the 20th of April. (to avoid confusion you need to use the
enum Calendar.MAY)
You made your point by falling prey to this confusion:
The 20th of April, 2008 would be 2008, 3 (not 5), 20 :-)
Michael
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--