biweekly.property
Class Repeat
java.lang.Object
biweekly.property.ICalProperty
biweekly.property.ValuedProperty<Integer>
biweekly.property.IntegerProperty
biweekly.property.Repeat
public class Repeat
- extends IntegerProperty
Defines the number of times an alarm should be repeated after its initial
trigger. Used in conjunction with DurationProperty
, which defines the
length of the pause between repeats.
Examples:
//repeat 5 more times after the first time
Repeat relatedTo = new Repeat(5);
VAlarm alarm = ...;
alarm.setRepeat(5);
- Author:
- Michael Angstadt
- Specification Reference:
- RFC 5545 p.133
Constructor Summary |
Repeat(Integer count)
Creates a repeat property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Repeat
public Repeat(Integer count)
- Creates a repeat property.
- Parameters:
count
- the number of times to repeat the alarm (e.g. "2" to repeat
it two more times after it was initially triggered, for a total of three
times)
Copyright © 2013 Michael Angstadt. All Rights Reserved.