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 |
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; |
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 |
|
|
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 |
|
|
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 |
|
|
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. |
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 |
{ |
{ |
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) |
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 |
{ |
{ |