public class Due<T extends Temporal> extends DateProperty<T>
4.8.2.3 Date/Time Due Property Name: DUE Purpose: This property defines the date and time that a to-do is expected to be completed. Value Type: The default value type is DATE-TIME. The value type can be set to a DATE value type. Property Parameters: Non-standard, value data type, time zone identifier property parameters can be specified on this property. Conformance: The property can be specified once in a "VTODO" calendar component. Description: The value MUST be a date/time equal to or after the DTSTART value, if specified. Format Definition: The property is defined by the following notation: due = "DUE" dueparam":" dueval CRLF dueparam = *( ; the following are optional, ; but MUST NOT occur more than once (";" "VALUE" "=" ("DATE-TIME" / "DATE")) / (";" tzidparam) / ; the following is optional, ; and MAY occur more than once *(";" xparam) ) dueval = date-time / date ;Value MUST match value type
Modifier and Type | Class and Description |
---|---|
static class |
Due.Factory<T extends Temporal> |
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 |
---|
Due(ParameterList aList,
String aValue) |
Due(ParameterList aList,
T aDate)
Constructor.
|
Due(String value)
Creates a new instance initialised with the parsed value.
|
Due(T aDate)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected PropertyFactory<Due<T>> |
newFactory()
Returns a new property factory used to create deep copies.
|
getDate, getValue, hashCode, isUtc, setDate, setTimeZoneRegistry, setValue, validate
add, copy, equals, getName, getParameter, getParameters, getParameters, remove, removeAll, replace, setParameters, toString
public Due(String value)
value
- the DUE value string to parseDateTimeParseException
- where the specified string is not a valid DUE value representationpublic Due(ParameterList aList, String aValue)
aList
- a list of parameters for this componentaValue
- a value string for this componentDateTimeParseException
- when the specified string is not a valid date/date-time representationpublic Due(T aDate)
aDate
- a datepublic Due(ParameterList aList, T aDate)
aList
- a list of parameters for this componentaDate
- a dateprotected PropertyFactory<Due<T>> newFactory()
Property
newFactory
in class Property