class SeasonalityDefinition implements ImmutableBean, Serializable {

  public static SeasonalityDefinition of(DoubleArray seasonalityMonthOnMonth, ShiftType adjustmentType) {
    ArgChecker.isTrue(seasonalityMonthOnMonth.size() == 12, "seasonality must be of length 12");
    return new SeasonalityDefinition(seasonalityMonthOnMonth, adjustmentType);
  }

  private  SeasonalityDefinition(
      DoubleArray seasonalityMonthOnMonth,
      ShiftType adjustmentType);

}