public class Completed extends UtcProperty
4.8.2.1 Date/Time Completed Property Name: COMPLETED Purpose: This property defines the date and time that a to-do was actually completed. Value Type: DATE-TIME Property Parameters: Non-standard property parameters can be specified on this property. Conformance: The property can be specified in a "VTODO" calendar component. Description: The date and time MUST be in a UTC format. Format Definition: The property is defined by the following notation: completed = "COMPLETED" compparam ":" date-time CRLF compparam = *(";" xparam)
Modifier and Type | Class and Description |
---|---|
static class |
Completed.Factory |
ACKNOWLEDGED, ACTION, ATTACH, ATTENDEE, BUSYTYPE, CALSCALE, CATEGORIES, CLASS, COMMENT, COMPLETED, CONTACT, COUNTRY, CREATED, DESCRIPTION, DTEND, DTSTAMP, DTSTART, DUE, DURATION, EXDATE, EXPERIMENTAL_PREFIX, EXRULE, EXTENDED_ADDRESS, FREEBUSY, GEO, LAST_MODIFIED, LOCALITY, LOCATION, LOCATION_TYPE, METHOD, NAME, ORGANIZER, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZURL, UID, URL, VERSION
Constructor and Description |
---|
Completed()
Default constructor.
|
Completed(DateTime aDate) |
Completed(ParameterList aList,
DateTime aDate) |
Completed(ParameterList aList,
java.lang.String aValue) |
Completed(java.lang.String aValue) |
getDateTime, setDateTime, setTimeZone, validate
copy, getDate, getTimeZone, getValue, hashCode, isUtc, setDate, setUtc, setValue
equals, getName, getParameter, getParameters, getParameters, toString
public Completed()
public Completed(java.lang.String aValue) throws java.text.ParseException
aValue
- a value string for this componentjava.text.ParseException
- when the specified string is not a valid date-time represenationpublic Completed(ParameterList aList, java.lang.String aValue) throws java.text.ParseException
aList
- a list of parameters for this componentaValue
- a value string for this componentjava.text.ParseException
- when the specified string is not a valid date-time represenationpublic Completed(DateTime aDate)
aDate
- a datepublic Completed(ParameterList aList, DateTime aDate)
aList
- a list of parameters for this componentaDate
- a date