public class DateTimeStamp extends DateTimeProperty
The meaning of this property varies depending on whether the iCalendar object
has a Method
property.
Method
property: Defines the creation date of the
iCalendar object itself (not the creation date of the actual calendar
data from the originating data store). Use the Created
property to
define the creation date of the actual calendar data.Method
property: Defines the date that the
calendar data was last updated (the LastModified
property also holds
this information).Code sample:
VEvent event = new VEvent(); Date datetime = ... DateTimeStamp dtstamp = new DateTimeStamp(datetime); event.setDateTimeStamp(dtstamp);
value
parameters
Constructor and Description |
---|
DateTimeStamp(Date date)
Creates a date time stamp property.
|
getValue, getValue, setValue, validate
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate
public DateTimeStamp(Date date)
date
- the dateCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.