base.user.jcard
Class Birthdate

java.lang.Object
  extended by base.user.jcard.Property
      extended by base.user.jcard.Birthdate

public class Birthdate
extends Property


Field Summary
 
Fields inherited from class base.user.jcard.Property
CRLF, PROPERTY_NAME
 
Constructor Summary
Birthdate()
           
 
Method Summary
 void doValidate()
           
 void setBirthdate(int yyyy, int mm, int dd)
          Sets the birthdate of the contact.
protected  void setPropertyName()
          Ensures that property name is set in subclass.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Birthdate

public Birthdate()
Method Detail

setBirthdate

public void setBirthdate(int yyyy,
                         int mm,
                         int dd)
Sets the birthdate of the contact.

Parameters:
yyyy - 4 digit year
mm - 2 digit month
dd - 2 digit day
See Also:
8601 date encoding standard

setPropertyName

protected void setPropertyName()
Description copied from class: Property
Ensures that property name is set in subclass.

Specified by:
setPropertyName in class Property

doValidate

public void doValidate()
                throws JCardException
Specified by:
doValidate in class Property
Throws:
JCardException

toString

public java.lang.String toString()
Specified by:
toString in class Property


Copyright © 2006 SF.net. All Rights Reserved.