classdef NewSeasonalTimeSeriesEventData < internal.EconModeler.EventData.NewTimeSeriesEventData
    %SEASONALTIMESERIESEVENTDATA Event Data for new seasonal time series
    %containing the period
   
    %Copyright 2017 The MathWorks, Inc.
    
    properties
        Period
    end
    
    methods
        function this = NewSeasonalTimeSeriesEventData(period)
            import internal.EconModeler.Enumerations.TimeSeriesTypes
            validateattributes(period,{'numeric'},{'integer','positive','scalar'});
            this = this@internal.EconModeler.EventData.NewTimeSeriesEventData(TimeSeriesTypes.SEASONAL);
            this.Period = period;
        end
    end
    
end

