public class LastModified extends DateProperty<Instant>
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)
| Modifier and Type | Class and Description |
|---|---|
static class |
LastModified.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 |
|---|
LastModified()
Default constructor.
|
LastModified(Instant aDate) |
LastModified(ParameterList aList,
Instant aDate) |
LastModified(ParameterList aList,
String aValue) |
LastModified(String aValue) |
| Modifier and Type | Method and Description |
|---|---|
protected PropertyFactory<LastModified> |
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 LastModified()
public LastModified(String aValue)
aValue - a date-time valuepublic LastModified(ParameterList aList, String aValue)
aList - a list of parameters for this componentaValue - a value string for this componentpublic LastModified(Instant aDate)
aDate - a date representation of a date-time valuepublic LastModified(ParameterList aList, Instant aDate)
aList - a list of parameters for this componentaDate - a date representation of a date-time valueprotected PropertyFactory<LastModified> newFactory()
PropertynewFactory in class Property