|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gedcomx.date.GedcomxDate
org.gedcomx.date.GedcomxDateRange
public class GedcomxDateRange
A Date Range
| Constructor Summary | |
|---|---|
GedcomxDateRange(String date)
Instantiate a new Range date from the formal string |
|
| Method Summary | |
|---|---|
GedcomxDateDuration |
getDuration()
Get the duration between the start and end dates |
GedcomxDateSimple |
getEnd()
Get the end of the range |
GedcomxDateSimple |
getStart()
Get the start of the range |
GedcomxDateType |
getType()
Get the type of this date |
boolean |
isApproximate()
Whether or not this date is considered approximate |
String |
toFormalString()
Return the formal string for this date |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GedcomxDateRange(String date)
date - The formal date string| Method Detail |
|---|
public GedcomxDateSimple getStart()
public GedcomxDateDuration getDuration()
public GedcomxDateSimple getEnd()
public GedcomxDateType getType()
getType in class GedcomxDatepublic boolean isApproximate()
isApproximate in class GedcomxDatepublic String toFormalString()
toFormalString in class GedcomxDate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||