/[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.26 by mark, Sat Jul 2 20:32:42 2005 UTC revision 1.27 by trebligd, Tue Jul 5 10:28:03 2005 UTC
# Line 50  package java.util; Line 50  package java.util;
50   * lying in the AD era.   * lying in the AD era.
51   *   *
52   * @see Calendar   * @see Calendar
53   * @see GregorianCalender   * @see GregorianCalendar
54   * @author Jochen Hoenicke   * @author Jochen Hoenicke
55   */   */
56  public class SimpleTimeZone extends TimeZone  public class SimpleTimeZone extends TimeZone
# Line 126  public class SimpleTimeZone extends Time Line 126  public class SimpleTimeZone extends Time
126    
127    /**    /**
128     * This variable can have different meanings.  See startMode for details     * This variable can have different meanings.  See startMode for details
129     * @see #startMode;     * @see #startMode
130     * @serial     * @serial
131     */     */
132    private int startDay;    private int startDay;
# Line 135  public class SimpleTimeZone extends Time Line 135  public class SimpleTimeZone extends Time
135     * This variable specifies the day of week the change takes place.  If     * This variable specifies the day of week the change takes place.  If
136     * startMode == DOM_MODE, this is undefined.     * startMode == DOM_MODE, this is undefined.
137     * @serial     * @serial
138     * @see #startMode;     * @see #startMode
139     */     */
140    private int startDayOfWeek;    private int startDayOfWeek;
141    
# Line 173  public class SimpleTimeZone extends Time Line 173  public class SimpleTimeZone extends Time
173    /**    /**
174     * This variable can have different meanings.  See startMode for details     * This variable can have different meanings.  See startMode for details
175     * @serial     * @serial
176     * @see #startMode;     * @see #startMode
177     */     */
178    private int endDay;    private int endDay;
179    
# Line 181  public class SimpleTimeZone extends Time Line 181  public class SimpleTimeZone extends Time
181     * This variable specifies the day of week the change takes place.  If     * This variable specifies the day of week the change takes place.  If
182     * endMode == DOM_MODE, this is undefined.     * endMode == DOM_MODE, this is undefined.
183     * @serial     * @serial
184     * @see #startMode;     * @see #startMode
185     */     */
186    private int endDayOfWeek;    private int endDayOfWeek;
187    
# Line 309  public class SimpleTimeZone extends Time Line 309  public class SimpleTimeZone extends Time
309     * @param id  The identifier of this time zone.     * @param id  The identifier of this time zone.
310     * @param startMonth The start month of daylight savings; use the     * @param startMonth The start month of daylight savings; use the
311     * constants in Calendar.     * constants in Calendar.
312     * @param startday A day in month or a day of week number, as     * @param startDayOfWeekInMonth A day in month or a day of week number, as
313     * described above.     * described above.
314     * @param startDayOfWeek The start rule day of week; see above.     * @param startDayOfWeek The start rule day of week; see above.
315     * @param startTime A time in millis in standard time.     * @param startTime A time in millis in standard time.
316     * @param endMonth The end month of daylight savings; use the     * @param endMonth The end month of daylight savings; use the
317     * constants in Calendar.     * constants in Calendar.
318     * @param endday A day in month or a day of week number, as     * @param endDayOfWeekInMonth A day in month or a day of week number, as
319     * described above.     * described above.
320     * @param endDayOfWeek The end rule day of week; see above.     * @param endDayOfWeek The end rule day of week; see above.
321     * @param endTime A time in millis in standard time.     * @param endTime A time in millis in standard time.
# Line 561  public class SimpleTimeZone extends Time Line 561  public class SimpleTimeZone extends Time
561     * @param day A day in month, or a day of week in month.     * @param day A day in month, or a day of week in month.
562     * @param dayOfWeek A day of week, when daylight savings ends.     * @param dayOfWeek A day of week, when daylight savings ends.
563     * @param time A time in millis in standard time.     * @param time A time in millis in standard time.
564     * @see #setStartRule     * @see #setStartRule(int, int, int, int)
565     */     */
566    public void setEndRule(int month, int day, int dayOfWeek, int time)    public void setEndRule(int month, int day, int dayOfWeek, int time)
567    {    {
# Line 601  public class SimpleTimeZone extends Time Line 601  public class SimpleTimeZone extends Time
601     * @param after If true, day and dayOfWeek specify first day of week on or     * @param after If true, day and dayOfWeek specify first day of week on or
602     * after day, else first day of week on or before.     * after day, else first day of week on or before.
603     * @since 1.2     * @since 1.2
604     * @see #setStartRule     * @see #setStartRule(int, int, int, int, boolean)
605     */     */
606    public void setEndRule(int month, int day, int dayOfWeek, int time,    public void setEndRule(int month, int day, int dayOfWeek, int time,
607                           boolean after)                           boolean after)
# Line 637  public class SimpleTimeZone extends Time Line 637  public class SimpleTimeZone extends Time
637     *     *
638     * @param month The end month of daylight savings.     * @param month The end month of daylight savings.
639     * @param day A day in month, or a day of week in month.     * @param day A day in month, or a day of week in month.
    * @param dayOfWeek A day of week, when daylight savings ends.  
640     * @param time A time in millis in standard time.     * @param time A time in millis in standard time.
641     * @see #setStartRule     * @see #setStartRule(int, int, int)
642     */     */
643    public void setEndRule(int month, int day, int time)    public void setEndRule(int month, int day, int time)
644    {    {

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

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