ezvcard.types
Class RevisionType

java.lang.Object
  extended by ezvcard.types.VCardType
      extended by ezvcard.types.TimestampType
          extended by 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

Field Summary
static String NAME
           
 
Fields inherited from class ezvcard.types.TimestampType
timestamp
 
Fields inherited from class ezvcard.types.VCardType
group, subTypes, typeName
 
Constructor Summary
RevisionType()
           
RevisionType(Date date)
           
 
Method Summary
static RevisionType now()
          Creates a REV property whose value is the current time.
 
Methods inherited from class ezvcard.types.TimestampType
doMarshalText, doMarshalXml, doUnmarshalHtml, doUnmarshalText, doUnmarshalXml, getTimestamp, setTimestamp
 
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
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

RevisionType

public RevisionType()

RevisionType

public RevisionType(Date date)
Parameters:
date - the date
Method Detail

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.