biweekly.property
Class PercentComplete
java.lang.Object
biweekly.property.ICalProperty
biweekly.property.ValuedProperty<Integer>
biweekly.property.IntegerProperty
biweekly.property.PercentComplete
public class PercentComplete
- extends IntegerProperty
Defines the amount that a to-do task has been completed.
- Author:
- Michael Angstadt
- See Also:
- RFC 5545 p.88-9
Methods inherited from class biweekly.property.ICalProperty |
addParameter, getAltRepresentation, getCommonName, getDirectoryEntry, getFormatType, getLanguage, getParameter, getParameters, getParameters, getSentBy, getTimezoneId, removeParameter, setAltRepresentation, setCommonName, setDirectoryEntry, setFormatType, setLanguage, setParameter, setParameter, setParameters, setSentBy, setTimezone, setTimezoneId, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PercentComplete
public PercentComplete(Integer percent)
- Creates a percent complete property.
- Parameters:
percent
- the percentage (e.g. "50" for 50%)
validate
protected void validate(List<ICalComponent> components,
List<String> warnings)
- Description copied from class:
ICalProperty
- Checks the property for data consistency problems or deviations from the
spec. Meant to be overridden by child classes.
- Overrides:
validate
in class ValuedProperty<Integer>
- Parameters:
components
- the hierarchy of components that the property belongs
towarnings
- the list to add the warnings to
Copyright © 2013 Michael Angstadt. All Rights Reserved.