* @return a <tt>ScheduleDailyFrequency</tt> object, the properties of which are determined by
* the current values of this panel's input fields; or <tt>null</tt> if the current
* input fields has invalid values.
*/
public ScheduleDailyFrequency getDailyFrequency(TimeZone tz) {
ScheduleDailyFrequency freq = new ScheduleDailyFrequency();
if (getOccursType() == ScheduleDailyFrequency.OCCURS_ONCE_AT) {
freq.setOccursOnce(onceAtTimeControl.getDate(tz));
} else {
int num = occursEveryPanel.getEveryNum();
OccursEvery hms = occursEveryPanel.getEveryHMS();
Date startTime = occursEveryPanel.getStartTime(tz);
Date endTime = occursEveryPanel.getEndTime(tz);
freq.setOccursEvery(num, hms, startTime, endTime);
}
return freq;
}