/[classpath]/classpath/java/util/SimpleTimeZone.java
ViewVC logotype

Diff of /classpath/java/util/SimpleTimeZone.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by mkoch, Wed Feb 16 12:36:21 2005 UTC revision 1.24 by mark, Thu Feb 17 22:42:42 2005 UTC
# Line 425  public class SimpleTimeZone extends Time Line 425  public class SimpleTimeZone extends Time
425     */     */
426    private int checkRule(int month, int day, int dayOfWeek)    private int checkRule(int month, int day, int dayOfWeek)
427    {    {
428        if (month < 0 || month > 11)
429          throw new IllegalArgumentException("month out of range");
430    
431      int daysInMonth = getDaysInMonth(month, 1);      int daysInMonth = getDaysInMonth(month, 1);
432      if (dayOfWeek == 0)      if (dayOfWeek == 0)
433        {        {

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26