public class GedcomxDateRecurring extends GedcomxDate
| Constructor and Description |
|---|
GedcomxDateRecurring(String date)
Instantiate a new Recurring date from the formal date string
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCount()
Get the count
|
GedcomxDateDuration |
getDuration()
Get the duration
|
GedcomxDateSimple |
getEnd()
Get the end date
|
GedcomxDateSimple |
getNth(Integer count)
Get the nth instance of this recurring date
|
GedcomxDateRange |
getRange()
Get the range
|
GedcomxDateSimple |
getStart()
Get the start date
|
GedcomxDateType |
getType()
Get the date type
|
boolean |
isApproximate()
Whether or not this date is considered approximate
|
String |
toFormalString()
Return the formal string for this date
|
public GedcomxDateRecurring(String date)
date - The formal date stringpublic Integer getCount()
public GedcomxDateRange getRange()
public GedcomxDateSimple getStart()
public GedcomxDateDuration getDuration()
public GedcomxDateSimple getEnd()
public GedcomxDateSimple getNth(Integer count)
count - The nth instancepublic GedcomxDateType getType()
getType in class GedcomxDatepublic boolean isApproximate()
isApproximate in class GedcomxDatepublic String toFormalString()
toFormalString in class GedcomxDateCopyright © 2023. All rights reserved.