Class GedcomxDateRecurring

    • Constructor Detail

      • GedcomxDateRecurring

        public GedcomxDateRecurring​(String date)
        Instantiate a new Recurring date from the formal date string
        Parameters:
        date - The formal date string
    • Method Detail

      • getCount

        public Integer getCount()
        Get the count
        Returns:
        The Count
      • getRange

        public GedcomxDateRange getRange()
        Get the range
        Returns:
        The Range
      • getStart

        public GedcomxDateSimple getStart()
        Get the start date
        Returns:
        The Start Date
      • getDuration

        public GedcomxDateDuration getDuration()
        Get the duration
        Returns:
        The Duration
      • getNth

        public GedcomxDateSimple getNth​(Integer count)
        Get the nth instance of this recurring date
        Parameters:
        count - The nth instance
        Returns:
        The date of the nth instance
      • isApproximate

        public boolean isApproximate()
        Whether or not this date is considered approximate
        Specified by:
        isApproximate in class GedcomxDate
        Returns:
        True if this date is approximate
      • toFormalString

        public String toFormalString()
        Return the formal string for this date
        Specified by:
        toFormalString in class GedcomxDate
        Returns:
        The formal date string