All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jfxtras.icalendarfx.properties.component.descriptive.PercentComplete Maven / Gradle / Ivy

The newest version!
package jfxtras.icalendarfx.properties.component.descriptive;

import jfxtras.icalendarfx.components.VTodo;
import jfxtras.icalendarfx.properties.VPropertyBase;
import jfxtras.icalendarfx.properties.component.descriptive.PercentComplete;

/**
 * PERCENT-COMPLETE
 * RFC 5545 iCalendar 3.8.1.8. page 88
 * 
 * This property is used by an assignee or delegatee of a
 * to-do to convey the percent completion of a to-do to the "Organizer".
 * The property value is a positive integer between 0 and
 * 100.  A value of "0" indicates the to-do has not yet been started.
 * A value of "100" indicates that the to-do has been completed.
 * 
 * Example:  The following is an example of this property to show 39% completion:
 * PERCENT-COMPLETE:39
 *  
 * @author David Bal
 * 
 * The property can be specified in following components:
 * @see VTodo
 */
public class PercentComplete extends VPropertyBase
{
    public PercentComplete(PercentComplete source)
    {
        super(source);
    }
    
    public PercentComplete(Integer value)
    {
        super(value);
    }

    public PercentComplete()
    {
        super();
    }
    
    public static PercentComplete parse(String content)
    {
    	return PercentComplete.parse(new PercentComplete(), content);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy