- All Implemented Interfaces:
Serializable,Comparable<Property>,FluentProperty,UtcProperty,Prototype<Property>
$Id$
Created: [Apr 6, 2004]
Defines a DTSTAMP iCalendar component property.
4.8.7.2 Date/Time Stamp
Property Name: DTSTAMP
Purpose: The property indicates the date/time that the instance of
the iCalendar object was created.
Value Type: DATE-TIME
Property Parameters: Non-standard property parameters can be
specified on this property.
Conformance: This property MUST be included in the "VEVENT", "VTODO",
"VJOURNAL" or "VFREEBUSY" calendar components.
Description: The value MUST be specified in the UTC time format.
This property is also useful to protocols such as [IMIP] that have
inherent latency issues with the delivery of content. This property
will assist in the proper sequencing of messages containing iCalendar
objects.
This property is different than the "CREATED" and "LAST-MODIFIED"
properties. These two properties are used to specify when the
particular calendar data in the calendar store was created and last
modified. This is different than when the iCalendar object
representation of the calendar service information was created or
last modified.
Format Definition: The property is defined by the following notation:
dtstamp = "DTSTAMP" stmparam ":" date-time CRLF
stmparam = *(";" 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintprotected PropertyFactory<DtStamp>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
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
-
DtStamp
public DtStamp()Default constructor. Initialises the dateTime value to the time of instantiation. -
DtStamp
- Parameters:
aValue- a string representation of a DTSTAMP value
-
DtStamp
- Parameters:
aList- a list of parameters for this componentaValue- a value string for this component
-
DtStamp
- Parameters:
aDate- a date representing a date-time
-
DtStamp
- Parameters:
aList- a list of parameters for this componentaDate- a date representing a date-time
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<Property>- Overrides:
compareToin classDateProperty<Instant>
-
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
-