|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.fortuna.ical4j.model.Content
net.fortuna.ical4j.model.Property
net.fortuna.ical4j.model.property.DateProperty
net.fortuna.ical4j.model.property.Due
public class Due
Defines a DUE iCalendar component property.
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
| Field Summary |
|---|
| Fields inherited from class net.fortuna.ical4j.model.property.DateProperty |
|---|
timezone |
| Fields inherited from class net.fortuna.ical4j.model.Property |
|---|
ACTION, ATTACH, ATTENDEE, 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 Summary | |
|---|---|
Due()
Default constructor. |
|
Due(Date aDate)
Constructor. |
|
Due(ParameterList aList,
Date aDate)
Constructor. |
|
Due(ParameterList aList,
java.lang.String aValue)
|
|
Due(java.lang.String value)
Creates a new instance initialised with the parsed value. |
|
Due(java.lang.String value,
TimeZone timezone)
Creates a new DUE property initialised with the specified timezone and value. |
|
Due(TimeZone timezone)
Creates a new DUE property initialised with the specified timezone. |
|
| Method Summary | |
|---|---|
void |
validate()
Perform validation on a property. |
| Methods inherited from class net.fortuna.ical4j.model.property.DateProperty |
|---|
copy, getDate, getValue, isUtc, setDate, setTimeZone, setUtc, setValue |
| Methods inherited from class net.fortuna.ical4j.model.Property |
|---|
equals, getName, getParameter, getParameters, getParameters, hashCode, isCalendarProperty, isComponentProperty, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Due()
public Due(TimeZone timezone)
timezone - initial timezone
public Due(java.lang.String value)
throws java.text.ParseException
value - the DUE value string to parse
java.text.ParseException - where the specified string is not a valid DUE value representation
public Due(java.lang.String value,
TimeZone timezone)
throws java.text.ParseException
value - a string representation of a DUE valuetimezone - initial timezone
java.text.ParseException - where the specified value is not a valid string
representation
public Due(ParameterList aList,
java.lang.String aValue)
throws java.text.ParseException
aList - a list of parameters for this componentaValue - a value string for this component
java.text.ParseException - when the specified string is not a valid date/date-time representationpublic Due(Date aDate)
aDate - a date
public Due(ParameterList aList,
Date aDate)
aList - a list of parameters for this componentaDate - a date| Method Detail |
|---|
public final void validate()
throws ValidationException
Property
validate in class DatePropertyValidationException - where the property is not in a valid stateProperty.validate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||