Skip to content

komische Idee

Wenn man sich fragt, warum ein Kalenderdatum in Java nicht funktioniert wie erwartet, kann man mal in die Sourcen schauen:
/**
* Value of the MONTH field indicating the
* first month of the year.
*/
public final static int JANUARY = 0;
Wer ist denn bitte auf die selten dämliche Idee gekommen, Monate ab 0 zu zählen?