SimpleTimeZone.setEndRule
Class Overview | Class Members | 
  This Package | 
All Packages
 public void setEndRule( int month,
                        int dayOfWeekInMonth,
                        int dayOfWeek,
                        int time )
Parameters
-  month 
-  the daylight savings ending month. Month is 0-based.
 eg, 0 for January.
    
-  dayOfWeekInMonth 
-  the daylight savings ending
 day-of-week-in-month. Please see the member description for an example.
    
-  dayOfWeek 
-  the daylight savings ending day-of-week. Please see
 the member description for an example.
    
-  time 
-  the daylight savings ending time. Please see the member
 description for an example.
  
Description
 Sets the daylight savings ending rule. For example, Daylight Savings
 Time ends at the last (-1) Sunday in October, at 2 AM in standard time.
 Therefore, you can set the end rule by calling:
 setEndRule(TimeFields.OCTOBER, -1, TimeFields.SUNDAY, 2*60*60*1000);