Fixed bug where seconds were always zero because % was misspelled as /

This commit is contained in:
Ryan Forbes 2009-02-03 15:30:03 -07:00
parent 277278b331
commit 46e19f9c80

View File

@ -126,7 +126,7 @@ public abstract class Calendar {
int hour = remainder / MILLIS_PER_HOUR;
remainder = remainder % MILLIS_PER_HOUR;
int minute = remainder / MILLIS_PER_MINUTE;
remainder = remainder / MILLIS_PER_MINUTE;
remainder = remainder % MILLIS_PER_MINUTE;
int second = remainder / MILLIS_PER_SECOND;
fields[YEAR] = year;
fields[MONTH] = month;