org.gedcomx.date
Class GedcomxDate

java.lang.Object
  extended by org.gedcomx.date.GedcomxDate
Direct Known Subclasses:
GedcomxDateApproximate, GedcomxDateDuration, GedcomxDateRange, GedcomxDateRecurring, GedcomxDateSimple

public abstract class GedcomxDate
extends Object

A Formal Gedcomx Date

Author:
John Clark.

Constructor Summary
GedcomxDate()
           
 
Method Summary
abstract  GedcomxDateType getType()
          Return the type of date
abstract  boolean isApproximate()
          Whether or not this date is approximate
abstract  String toFormalString()
          The formal representation of this date
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GedcomxDate

public GedcomxDate()
Method Detail

getType

public abstract GedcomxDateType getType()
Return the type of date

Returns:
The Type

isApproximate

public abstract boolean isApproximate()
Whether or not this date is approximate

Returns:
True if this date is approximate

toFormalString

public abstract String toFormalString()
The formal representation of this date

Returns:
The formal string


Copyright © 2015. All rights reserved.