biweekly.property
Class Sequence
java.lang.Object
biweekly.property.ICalProperty
biweekly.property.ValuedProperty<Integer>
biweekly.property.IntegerProperty
biweekly.property.Sequence
public class Sequence
- extends IntegerProperty
Defines a revision number for an event, to-do task, or journal entry. This
number can be incremented every time a significant change is made to the
component.
Examples:
Sequence sequence = new Sequence(2);
VEvent event = ...
event.setSequence(2);
- Author:
- Michael Angstadt
- Specification Reference:
- RFC 5545 p.138-9
Constructor Summary |
Sequence(Integer sequence)
Creates a sequence property. |
Method Summary |
void |
increment()
Increments the sequence number. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sequence
public Sequence(Integer sequence)
- Creates a sequence property.
- Parameters:
sequence
- the sequence number (e.g. "0" for the initial version,
"1" for the first revision, etc)
increment
public void increment()
- Increments the sequence number.
Copyright © 2013 Michael Angstadt. All Rights Reserved.