@JsonIgnore public Period getWindowEnd(WindowName windowName) { MutablePeriod period = new MutablePeriod(); for (MilestoneWindow window : windows) { period.add(window.getPeriod()); if (window.getName().equals(windowName)) { break; } } return period.toPeriod(); }