Package org.gedcomx.date
Class GedcomxDate
- java.lang.Object
-
- 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
Constructors Constructor Description GedcomxDate()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract GedcomxDateTypegetType()Return the type of dateabstract booleanisApproximate()Whether or not this date is approximateabstract StringtoFormalString()The formal representation of this date
-
-
-
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
-
-