Class LastModified
- java.lang.Object
-
- net.fortuna.ical4j.model.Content
-
- net.fortuna.ical4j.model.Property
-
- net.fortuna.ical4j.model.property.DateProperty
-
- net.fortuna.ical4j.model.property.UtcProperty
-
- net.fortuna.ical4j.model.property.LastModified
-
- All Implemented Interfaces:
Serializable
,Comparable<Property>
public class LastModified extends UtcProperty
$Id$ Created: [Apr 6, 2004] Defines a LAST-MODIFIED iCalendar component property.4.8.7.3 Last Modified Property Name: LAST-MODIFIED Purpose: The property specifies the date and time that the information associated with the calendar component was last revised in the calendar store. Note: This is analogous to the modification date and time for a file in the file system. Value Type: DATE-TIME Property Parameters: Non-standard property parameters can be specified on this property. Conformance: This property can be specified in the "EVENT", "VTODO", "VJOURNAL" or "VTIMEZONE" calendar components. Description: The property value MUST be specified in the UTC time format. Format Definition: The property is defined by the following notation: last-mod = "LAST-MODIFIED" lstparam ":" date-time CRLF lstparam = *(";" xparam)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LastModified.Factory
-
Field Summary
-
Fields inherited from class net.fortuna.ical4j.model.Property
ACKNOWLEDGED, ACTION, ATTACH, ATTENDEE, BUSYTYPE, CALENDAR_ADDRESS, 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, PARTICIPANT_TYPE, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, PROXIMITY, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCE_TYPE, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, STRUCTURED_DATA, STYLED_DESCRIPTION, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZURL, UID, URL, VERSION
-
-
Constructor Summary
Constructors Constructor Description LastModified()
Default constructor.LastModified(String aValue)
LastModified(DateTime aDate)
LastModified(ParameterList aList, String aValue)
LastModified(ParameterList aList, DateTime aDate)
-
Method Summary
-
Methods inherited from class net.fortuna.ical4j.model.property.UtcProperty
getDateTime, setDateTime, setTimeZone, validate
-
Methods inherited from class net.fortuna.ical4j.model.property.DateProperty
compareTo, copy, getDate, getTimeZone, getValue, hashCode, isUtc, setDate, setUtc, setValue
-
Methods inherited from class net.fortuna.ical4j.model.Property
equals, getName, getParameter, getParameters, getParameters, toString
-
-
-
-
Constructor Detail
-
LastModified
public LastModified()
Default constructor.
-
LastModified
public LastModified(String aValue) throws ParseException
- Parameters:
aValue
- a date-time value- Throws:
ParseException
- where the specified string is not a valid date-time
-
LastModified
public LastModified(ParameterList aList, String aValue) throws ParseException
- Parameters:
aList
- a list of parameters for this componentaValue
- a value string for this component- Throws:
ParseException
- where the specified value string is not a valid date-time/date representation
-
LastModified
public LastModified(DateTime aDate)
- Parameters:
aDate
- a date representation of a date-time value
-
LastModified
public LastModified(ParameterList aList, DateTime aDate)
- Parameters:
aList
- a list of parameters for this componentaDate
- a date representation of a date-time value
-
-