public class Completed extends DateProperty<Instant>
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(Instant aDate) |
Completed(ParameterList aList,
Instant aDate) |
Completed(ParameterList aList,
String aValue) |
Completed(String aValue) |
| Modifier and Type | Method and Description |
|---|---|
protected PropertyFactory<Completed> |
newFactory()
Returns a new property factory used to create deep copies.
|
getDate, getValue, hashCode, isUtc, setDate, setTimeZoneRegistry, setValue, validateadd, copy, equals, getName, getParameter, getParameters, getParameters, remove, removeAll, replace, setParameters, toStringpublic Completed()
public Completed(String aValue)
aValue - a value string for this componentpublic Completed(ParameterList aList, String aValue)
aList - a list of parameters for this componentaValue - a value string for this componentpublic Completed(Instant aDate)
aDate - a datepublic Completed(ParameterList aList, Instant aDate)
aList - a list of parameters for this componentaDate - a dateprotected PropertyFactory<Completed> newFactory()
PropertynewFactory in class Property