Class AbstractSolarActivityDataLoader<L extends AbstractSolarActivityDataLoader.LineParameters>

    • Constructor Detail

      • AbstractSolarActivityDataLoader

        protected AbstractSolarActivityDataLoader​(TimeScale utc)
        Constructor.
        Parameters:
        utc - UTC time scale
    • Method Detail

      • stillAcceptsData

        public boolean stillAcceptsData()
        Check if the loader still accepts new data.

        This method is used to speed up data loading by interrupting crawling the data sets as soon as a loader has found the data it was waiting for. For loaders that can merge data from any number of sources (for example JPL ephemerides or Earth Orientation Parameters that are split among several files), this method should always return true to make sure no data is left over.

        Specified by:
        stillAcceptsData in interface DataLoader
        Returns:
        true while the loader still accepts new data
      • getDataSet

        public abstract SortedSet<L> getDataSet()
        Get the data set.
        Returns:
        the data set
      • getUTC

        public TimeScale getUTC()
        Get the UTC timescale.
        Returns:
        the UTC timescale
      • getMinDate

        public AbsoluteDate getMinDate()
        Gets the available data range minimum date.
        Returns:
        the minimum date.
      • getMaxDate

        public AbsoluteDate getMaxDate()
        Gets the available data range maximum date.
        Returns:
        the maximum date.
      • setMinDate

        public void setMinDate​(AbsoluteDate date)
        Set the available data range minimum date.
        Parameters:
        date - available data range minimum date
      • setMaxDate

        public void setMaxDate​(AbsoluteDate date)
        Set the available data range maximum date.
        Parameters:
        date - available data range maximum date