public class GedcomxDateRange extends GedcomxDate
| Constructor and Description |
|---|
GedcomxDateRange(String date)
Instantiate a new Range date from the formal string
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public GedcomxDateRange(String date)
date - The formal date stringpublic 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 GedcomxDateCopyright © 2019. All rights reserved.