001package biweekly.property; 002 003import java.util.Date; 004 005import biweekly.component.VAlarm; 006import biweekly.util.Duration; 007 008/** 009 * <p> 010 * Defines an alarm property that is part of the vCalendar (1.0) standard (such 011 * as {@link AudioAlarm}). 012 * <p> 013 * <p> 014 * Classes that extend this class are used internally by this library for 015 * parsing purposes. If you are creating a new iCalendar object and need to 016 * define an alarm, it is recommended that you use the {@link VAlarm} component 017 * to create a new alarm. 018 * </p> 019 * @author Michael Angstadt 020 * @see <a href="http://www.imc.org/pdi/vcal-10.doc">vCal 1.0</a> 021 */ 022public class VCalAlarmProperty extends ICalProperty { 023 protected Date start; 024 protected Duration snooze; 025 protected Integer repeat; 026 027 public Date getStart() { 028 return start; 029 } 030 031 public void setStart(Date start) { 032 this.start = start; 033 } 034 035 public Duration getSnooze() { 036 return snooze; 037 } 038 039 public void setSnooze(Duration snooze) { 040 this.snooze = snooze; 041 } 042 043 public Integer getRepeat() { 044 return repeat; 045 } 046 047 public void setRepeat(Integer repeat) { 048 this.repeat = repeat; 049 } 050}