Class TimePeriodIdOutputProperty

    • Constructor Detail

      • TimePeriodIdOutputProperty

        public TimePeriodIdOutputProperty()
    • Method Detail

      • getName

        public String getName()
        Description copied from class: OutputProperty
        Returns the name of the output property
        Specified by:
        getName in class OutputProperty
        Returns:
        name of the output property
      • getColumnPriority

        public OutputPropertyPriority getColumnPriority()
        Description copied from class: OutputProperty
        Gets the column priority of the output property in output files The lower the column priority value of a property, the further to the left it is placed in the output file
        Specified by:
        getColumnPriority in class OutputProperty
        Returns:
        the column priority
      • getTimePeriodId

        public static Optional<Long> getTimePeriodId​(TimePeriod timePeriod)
                                              throws PlanItException
        Returns the current time period Id
        Parameters:
        timePeriod - current time period
        Returns:
        the current time period Id
        Throws:
        PlanItException - thrown if there is an error