Class PSDSequenceBlock


  • public class PSDSequenceBlock
    extends PSDBlock
    • Constructor Detail

      • PSDSequenceBlock

        public PSDSequenceBlock​(java.util.Date beginTimestamp,
                                java.util.Date endTimestamp,
                                java.lang.String dataElement)
        Constructor that initializes the block
        Parameters:
        beginTimestamp - Date
        endTimestamp - Date
        dataElement - String
    • Method Detail

      • getTimeIn

        public long getTimeIn()
        Returns the duration of the period of activity
        Returns:
        long
      • getBeginTimestamp

        public java.util.Date getBeginTimestamp()
        Returns the begin timestamp of this block
        Returns:
        Date
      • setBeginTimestamp

        public void setBeginTimestamp​(java.util.Date beginTimestamp)
        Sets the begin timestamp. Needed to be able to combine blocks/periods that overlap
        Parameters:
        beginTimestamp - Date
      • getEndTimestamp

        public java.util.Date getEndTimestamp()
        Returns the end timestamp. Needed to be able to combine blocks/periods that overlap
        Returns:
        Date
      • setEndTimestamp

        public void setEndTimestamp​(java.util.Date endTimestamp)
        Sets the end timestamp
        Parameters:
        endTimestamp - Date