News for hackers. Stuff that matters.
Re:Source code of the file with the Zune bug (starts on line... by jabr on Friday January 02, 2009 @12:10PM (#417444)
I prefer:

  for (;;) {
    int days_in_year = IsLeapYear(year) ? 366 : 365;
    if (days <= days_in_year) break;
    days -= days_in_year;
    year += 1;
  }

There are no comments on this comment yet.