Top Description Inners Fields Constructors Methods
net.fortuna.ical4j.model.property

public Class LastModified

extends DateProperty<Instant>
implements UtcProperty
Class Inheritance
All Implemented Interfaces
net.fortuna.ical4j.model.property.UtcProperty
Imports
net.fortuna.ical4j.model.*, net.fortuna.ical4j.model.parameter.Value, java.time.Instant, .ZoneId

$Id$

Created: [Apr 6, 2004]

Defines a LAST-MODIFIED iCalendar component property.

    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)

Author
benf

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
LastModified()

Default constructor.

public
LastModified(final String
a date-time value
aValue
)

public
LastModified(final ParameterList
a list of parameters for this component
aList
,
final String
a value string for this component
aValue
)

public
LastModified(final Instant
a date representation of a date-time value
aDate
)

public
LastModified(final ParameterList
a list of parameters for this component
aList
,
final Instant
a date representation of a date-time value
aDate
)

Method Summary

Modifier and TypeMethod and Description
protected PropertyFactory<LastModified>
newFactory()

Implements abstract net.fortuna.ical4j.model.Property.newFactory.

Returns a new property factory used to create deep copies.

public void
setDefaultTimeZone(ZoneId
a timezone identifier
defaultTimeZone
)

Overrides net.fortuna.ical4j.model.property.DateProperty.setDefaultTimeZone.

Overrides default net.fortuna.ical4j.model.property.UtcProperty.setDefaultTimeZone.

A default timezone may be specified for interpreting floating DATE-TIME values.

public void
Inherited from net.fortuna.ical4j.model.property.DateProperty:
compareTogetDategetValuehashCodeisUtcrefreshParameterssetDatesetValuevalidate

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides net.fortuna.ical4j.model.property.DateProperty.serialVersionUID.

Constructor Detail

LastModifiedback to summary
public LastModified()

Default constructor.

LastModifiedback to summary
public LastModified(final String aValue)
Parameters
aValue:String

a date-time value

LastModifiedback to summary
public LastModified(final ParameterList aList, final String aValue)
Parameters
aList:ParameterList

a list of parameters for this component

aValue:String

a value string for this component

LastModifiedback to summary
public LastModified(final Instant aDate)
Parameters
aDate:Instant

a date representation of a date-time value

LastModifiedback to summary
public LastModified(final ParameterList aList, final Instant aDate)
Parameters
aList:ParameterList

a list of parameters for this component

aDate:Instant

a date representation of a date-time value

Method Detail

newFactoryback to summary
protected PropertyFactory<LastModified> newFactory()

Implements abstract net.fortuna.ical4j.model.Property.newFactory.

Doc from net.fortuna.ical4j.model.Property.newFactory.

Returns a new property factory used to create deep copies.

Returns:PropertyFactory<LastModified>

a property factory instance

Annotations
@Override
setDefaultTimeZoneback to summary
public void setDefaultTimeZone(ZoneId defaultTimeZone)

Overrides net.fortuna.ical4j.model.property.DateProperty.setDefaultTimeZone.

Overrides default net.fortuna.ical4j.model.property.UtcProperty.setDefaultTimeZone.

Doc from net.fortuna.ical4j.model.property.DateProperty.setDefaultTimeZone.

A 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.

Parameters
defaultTimeZone:ZoneId

a timezone identifier

Annotations
@Override
setTimeZoneRegistryback to summary
public void setTimeZoneRegistry(TimeZoneRegistry timeZoneRegistry)

Overrides net.fortuna.ical4j.model.property.DateProperty.setTimeZoneRegistry.

Overrides default net.fortuna.ical4j.model.property.UtcProperty.setTimeZoneRegistry.

Annotations
@Override
net.fortuna.ical4j.model.property back to summary

public Class LastModified.Factory

extends Factory
implements PropertyFactory<LastModified>
Class Inheritance
All Implemented Interfaces
net.fortuna.ical4j.model.PropertyFactory, java.io.Serializable

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public LastModified
createProperty(final ParameterList
a list of property parameters
parameters
,
final String
a property value
value
)

Implements net.fortuna.ical4j.model.PropertyFactory.createProperty.

public LastModified
Inherited from net.fortuna.ical4j.model.Content.Factory:
supports

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

Factoryback to summary
public Factory()

Method Detail

createPropertyback to summary
public LastModified createProperty(final ParameterList parameters, final String value)

Implements net.fortuna.ical4j.model.PropertyFactory.createProperty.

Parameters
parameters:ParameterList

Doc from net.fortuna.ical4j.model.PropertyFactory.createProperty.

a list of property parameters

value:String

Doc from net.fortuna.ical4j.model.PropertyFactory.createProperty.

a property value

Returns:LastModified

Doc from net.fortuna.ical4j.model.PropertyFactory.createProperty.

a new instance of the specified property

Annotations
@Override
createPropertyback to summary
public LastModified createProperty()

Implements net.fortuna.ical4j.model.PropertyFactory.createProperty.

Returns:LastModified

Doc from net.fortuna.ical4j.model.PropertyFactory.createProperty.

a new instance of the specified property

Annotations
@Override