java.lang.Object
net.fortuna.ical4j.model.Content
net.fortuna.ical4j.model.Property
net.fortuna.ical4j.model.property.DateProperty<Instant>
net.fortuna.ical4j.model.property.LastModified
- All Implemented Interfaces:
Serializable,Comparable<Property>,FluentProperty,UtcProperty,Prototype<Property>
$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:
-
Nested Class Summary
Nested Classes -
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, TZID_ALIAS_OF, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZUNTIL, TZURL, UID, URL, VERSION, XML -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.LastModified(String aValue) LastModified(Instant aDate) LastModified(ParameterList aList, String aValue) LastModified(ParameterList aList, Instant aDate) -
Method Summary
Modifier and TypeMethodDescriptionprotected PropertyFactory<LastModified>Returns a new property factory used to create deep copies.voidsetDefaultTimeZone(ZoneId defaultTimeZone) A default timezone may be specified for interpreting floating DATE-TIME values.voidsetTimeZoneRegistry(TimeZoneRegistry timeZoneRegistry) Methods inherited from class net.fortuna.ical4j.model.property.DateProperty
compareTo, getDate, getValue, hashCode, isUtc, refreshParameters, setDate, setValue, validateMethods inherited from class net.fortuna.ical4j.model.Property
add, copy, equals, getFluentTarget, getName, getParameter, getParameter, getParameterList, getParameters, getPrefix, getRequiredParameter, getRequiredParameter, remove, removeAll, replace, setParameters, setPrefix, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.fortuna.ical4j.model.FluentProperty
withParameter
-
Constructor Details
-
LastModified
public LastModified()Default constructor. -
LastModified
- Parameters:
aValue- a date-time value
-
LastModified
- Parameters:
aList- a list of parameters for this componentaValue- a value string for this component
-
LastModified
- Parameters:
aDate- a date representation of a date-time value
-
LastModified
- Parameters:
aList- a list of parameters for this componentaDate- a date representation of a date-time value
-
-
Method Details
-
setTimeZoneRegistry
- Specified by:
setTimeZoneRegistryin interfaceUtcProperty- Overrides:
setTimeZoneRegistryin classDateProperty<Instant>
-
setDefaultTimeZone
Description copied from class:DatePropertyA default timezone may be specified for interpreting floating DATE-TIME values. In the absence of a default timezone the system default timezone will be used.- Specified by:
setDefaultTimeZonein interfaceUtcProperty- Overrides:
setDefaultTimeZonein classDateProperty<Instant>- Parameters:
defaultTimeZone- a timezone identifier
-
newFactory
Description copied from class:PropertyReturns a new property factory used to create deep copies.- Specified by:
newFactoryin classProperty- Returns:
- a property factory instance
-