ezvcard.types
Class RevisionType
java.lang.Object
ezvcard.types.VCardType
ezvcard.types.TimestampType
ezvcard.types.RevisionType
- All Implemented Interfaces:
- Comparable<VCardType>
public class RevisionType
- extends TimestampType
The date that the vCard was last modified by its owner.
VCard vcard = new VCard();
RevisionType rev = new RevisionType(new Date());
vcard.setRevision(rev);
vCard property name: REV
vCard versions: 2.1, 3.0, 4.0
- Author:
- Michael Angstadt
Method Summary |
static RevisionType |
now()
Creates a REV property whose value is the current time. |
Methods inherited from class ezvcard.types.VCardType |
compareTo, doMarshalSubTypes, getGroup, getQName, getSubTypes, getSupportedVersions, getTypeName, marshalSubTypes, marshalText, marshalXml, setGroup, unmarshalHtml, unmarshalText, unmarshalXml |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final String NAME
- See Also:
- Constant Field Values
RevisionType
public RevisionType()
RevisionType
public RevisionType(Date date)
- Parameters:
date
- the date
now
public static RevisionType now()
- Creates a REV property whose value is the current time.
- Returns:
- the REV property instance
Copyright © 2012-2013. All Rights Reserved.