net.fortuna.ical4j.model.property
Class DtStamp

java.lang.Object
  extended bynet.fortuna.ical4j.model.Content
      extended bynet.fortuna.ical4j.model.Property
          extended bynet.fortuna.ical4j.model.property.DateProperty
              extended bynet.fortuna.ical4j.model.property.UtcProperty
                  extended bynet.fortuna.ical4j.model.property.DtStamp
All Implemented Interfaces:
Serializable

public class DtStamp
extends UtcProperty

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)
 

Author:
Ben Fortuna
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.fortuna.ical4j.model.property.DateProperty
timezone
 
Fields inherited from class net.fortuna.ical4j.model.Property
ACTION, ATTACH, ATTENDEE, CALSCALE, CATEGORIES, CLASS, COMMENT, COMPLETED, CONTACT, CREATED, DESCRIPTION, DTEND, DTSTAMP, DTSTART, DUE, DURATION, EXDATE, EXPERIMENTAL_PREFIX, EXRULE, FREEBUSY, GEO, LAST_MODIFIED, LOCATION, METHOD, ORGANIZER, PERCENT_COMPLETE, PRIORITY, PRODID, RDATE, RECURRENCE_ID, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCES, RRULE, SEQUENCE, STATUS, SUMMARY, TRANSP, TRIGGER, TZID, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZURL, UID, URL, VERSION
 
Constructor Summary
DtStamp()
          Default constructor.
DtStamp(DateTime aDate)
           
DtStamp(ParameterList aList, DateTime aDate)
           
DtStamp(ParameterList aList, String aValue)
           
 
Methods inherited from class net.fortuna.ical4j.model.property.UtcProperty
getDateTime, setDateTime, validate
 
Methods inherited from class net.fortuna.ical4j.model.property.DateProperty
getDate, getValue, isUtc, setDate, setTimeZone, setUtc, setValue
 
Methods inherited from class net.fortuna.ical4j.model.Property
equals, getName, getParameter, getParameters, getParameters, hashCode, isCalendarProperty, isComponentProperty, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DtStamp

public DtStamp()
Default constructor. Initialises the dateTime value to the time of instantiation.


DtStamp

public DtStamp(ParameterList aList,
               String aValue)
        throws ParseException
Parameters:
aList - a list of parameters for this component
aValue - a value string for this component
Throws:
ParseException - where the specified value string is not a valid date-time/date representation

DtStamp

public DtStamp(DateTime aDate)
Parameters:
aDate - a date representing a date-time

DtStamp

public DtStamp(ParameterList aList,
               DateTime aDate)
Parameters:
aList - a list of parameters for this component
aDate - a date representing a date-time