public class Revision extends SimpleProperty<java.util.Date>
Defines the date that the vCard was last modified by its owner.
Code sample
VCard vcard = new VCard(); Revision rev = new Revision(new Date()); vcard.setRevision(rev);
Property name: REV
Supported versions: 2.1, 3.0, 4.0
value
group, parameters
Constructor and Description |
---|
Revision(java.util.Date date)
Creates a revision property.
|
Modifier and Type | Method and Description |
---|---|
static Revision |
now()
Creates a revision property whose value is the current time.
|
_validate, getValue, setValue
_supportedVersions, addParameter, compareTo, getGroup, getParameter, getParameters, getParameters, getSupportedVersions, removeParameter, setGroup, setParameter, setParameters, validate
public Revision(java.util.Date date)
date
- the date the vCard was last modifiedpublic static Revision now()
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.