public class DtStamp extends UtcProperty
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)
Modifier and Type | Class and Description |
---|---|
static class |
DtStamp.Factory |
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 |
---|
DtStamp()
Default constructor.
|
DtStamp(DateTime aDate) |
DtStamp(ParameterList aList,
DateTime aDate) |
DtStamp(ParameterList aList,
java.lang.String aValue) |
DtStamp(java.lang.String aValue) |
getDateTime, setDateTime, setTimeZone, validate
copy, getDate, getTimeZone, getValue, hashCode, isUtc, setDate, setUtc, setValue
equals, getName, getParameter, getParameters, getParameters, toString
public DtStamp()
public DtStamp(java.lang.String aValue) throws java.text.ParseException
aValue
- a string representation of a DTSTAMP valuejava.text.ParseException
- if the specified value is not a valid representationpublic DtStamp(ParameterList aList, java.lang.String aValue) throws java.text.ParseException
aList
- a list of parameters for this componentaValue
- a value string for this componentjava.text.ParseException
- where the specified value string is not a valid date-time/date representationpublic DtStamp(DateTime aDate)
aDate
- a date representing a date-timepublic DtStamp(ParameterList aList, DateTime aDate)
aList
- a list of parameters for this componentaDate
- a date representing a date-time