/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param dayOfMonth * the {@code Calendar} day of the month on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. */ public void setStartRule(int month, int dayOfMonth, int time) { startMonth = month; startDay = dayOfMonth; startDayOfWeek = 0; // Initialize this value for hasSameRules() startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param day * the {@code Calendar} day of the month. * @param dayOfWeek * the {@code Calendar} day of the week on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. * @param after * selects the day after or before the day of month. */ public void setStartRule(int month, int day, int dayOfWeek, int time, boolean after) { startMonth = month; startDay = after ? day : -day; startDayOfWeek = -dayOfWeek; startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param day * the occurrence of the day of the week on which daylight * savings time starts. * @param dayOfWeek * the {@code Calendar} day of the week on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. */ public void setStartRule(int month, int day, int dayOfWeek, int time) { startMonth = month; startDay = day; startDayOfWeek = dayOfWeek; startTime = time; setStartMode(); }
this.startDayOfWeek = startDayOfWeek; this.startTime = startTime; setStartMode(); this.endMonth = endMonth; this.endDay = endDay;
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param dayOfMonth * the {@code Calendar} day of the month on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. */ public void setStartRule(int month, int dayOfMonth, int time) { startMonth = month; startDay = dayOfMonth; startDayOfWeek = 0; // Initialize this value for hasSameRules() startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param dayOfMonth * the {@code Calendar} day of the month on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. */ public void setStartRule(int month, int dayOfMonth, int time) { startMonth = month; startDay = dayOfMonth; startDayOfWeek = 0; // Initialize this value for hasSameRules() startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param dayOfMonth * the {@code Calendar} day of the month on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. */ public void setStartRule(int month, int dayOfMonth, int time) { startMonth = month; startDay = dayOfMonth; startDayOfWeek = 0; // Initialize this value for hasSameRules() startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param dayOfMonth * the {@code Calendar} day of the month on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. */ public void setStartRule(int month, int dayOfMonth, int time) { startMonth = month; startDay = dayOfMonth; startDayOfWeek = 0; // Initialize this value for hasSameRules() startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param dayOfMonth * the {@code Calendar} day of the month on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. */ public void setStartRule(int month, int dayOfMonth, int time) { startMonth = month; startDay = dayOfMonth; startDayOfWeek = 0; // Initialize this value for hasSameRules() startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param dayOfMonth * the {@code Calendar} day of the month on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. */ public void setStartRule(int month, int dayOfMonth, int time) { startMonth = month; startDay = dayOfMonth; startDayOfWeek = 0; // Initialize this value for hasSameRules() startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param dayOfMonth * the {@code Calendar} day of the month on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. */ public void setStartRule(int month, int dayOfMonth, int time) { startMonth = month; startDay = dayOfMonth; startDayOfWeek = 0; // Initialize this value for hasSameRules() startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param day * the occurrence of the day of the week on which daylight * savings time starts. * @param dayOfWeek * the {@code Calendar} day of the week on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. */ public void setStartRule(int month, int day, int dayOfWeek, int time) { startMonth = month; startDay = day; startDayOfWeek = dayOfWeek; startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param day * the {@code Calendar} day of the month. * @param dayOfWeek * the {@code Calendar} day of the week on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. * @param after * selects the day after or before the day of month. */ public void setStartRule(int month, int day, int dayOfWeek, int time, boolean after) { startMonth = month; startDay = after ? day : -day; startDayOfWeek = -dayOfWeek; startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param day * the occurrence of the day of the week on which daylight * savings time starts. * @param dayOfWeek * the {@code Calendar} day of the week on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. */ public void setStartRule(int month, int day, int dayOfWeek, int time) { startMonth = month; startDay = day; startDayOfWeek = dayOfWeek; startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param day * the occurrence of the day of the week on which daylight * savings time starts. * @param dayOfWeek * the {@code Calendar} day of the week on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. */ public void setStartRule(int month, int day, int dayOfWeek, int time) { startMonth = month; startDay = day; startDayOfWeek = dayOfWeek; startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param day * the {@code Calendar} day of the month. * @param dayOfWeek * the {@code Calendar} day of the week on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. * @param after * selects the day after or before the day of month. */ public void setStartRule(int month, int day, int dayOfWeek, int time, boolean after) { startMonth = month; startDay = after ? day : -day; startDayOfWeek = -dayOfWeek; startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param day * the occurrence of the day of the week on which daylight * savings time starts. * @param dayOfWeek * the {@code Calendar} day of the week on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. */ public void setStartRule(int month, int day, int dayOfWeek, int time) { startMonth = month; startDay = day; startDayOfWeek = dayOfWeek; startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param day * the {@code Calendar} day of the month. * @param dayOfWeek * the {@code Calendar} day of the week on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. * @param after * selects the day after or before the day of month. */ public void setStartRule(int month, int day, int dayOfWeek, int time, boolean after) { startMonth = month; startDay = after ? day : -day; startDayOfWeek = -dayOfWeek; startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param day * the {@code Calendar} day of the month. * @param dayOfWeek * the {@code Calendar} day of the week on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. * @param after * selects the day after or before the day of month. */ public void setStartRule(int month, int day, int dayOfWeek, int time, boolean after) { startMonth = month; startDay = after ? day : -day; startDayOfWeek = -dayOfWeek; startTime = time; setStartMode(); }
/** * Sets the rule which specifies the start of daylight savings time. * * @param month * the {@code Calendar} month in which daylight savings time starts. * @param day * the {@code Calendar} day of the month. * @param dayOfWeek * the {@code Calendar} day of the week on which daylight savings time * starts. * @param time * the time of day in milliseconds on which daylight savings time * starts. * @param after * selects the day after or before the day of month. */ public void setStartRule(int month, int day, int dayOfWeek, int time, boolean after) { startMonth = month; startDay = after ? day : -day; startDayOfWeek = -dayOfWeek; startTime = time; setStartMode(); }