Class EdalDate

    • Constructor Detail

      • EdalDate

        public EdalDate​(java.util.Calendar startDate,
                        EdalDatePrecision startPrecision,
                        java.lang.String event)
        Default constructor to create a EdalDate with a specified date, precision and event description.
        Parameters:
        startDate - the date of the time point.
        startPrecision - the precision of the given date.
        event - the description of the time point.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class UntypedData
      • getEvent

        public java.lang.String getEvent()
        Getter for the event of this EdalDate.
        Returns:
        the event of this EdalDate.
      • getStartDate

        public java.util.Calendar getStartDate()
        Getter for the startDate of this EdalDate.
        Returns:
        the startDate
      • getStartPrecision

        public EdalDatePrecision getStartPrecision()
        Getter for the precision of this EdalDate.
        Returns:
        the startPrecision
      • setEvent

        public void setEvent​(java.lang.String event)
        Setter for the event of this EdalDate.
        Parameters:
        event - the event to set.
      • setStartDate

        public void setStartDate​(java.util.Calendar startDate)
        Setter for the startDate of this EdalDate.
        Parameters:
        startDate - the startDate to set
      • setStartPrecision

        public void setStartPrecision​(EdalDatePrecision startPrecision)
        Setter for the precision of this EdalDate.
        Parameters:
        startPrecision - the startPrecision to set